Ticket #21480 - In amp version, in the serach of products, it shows the price when it shoudn´t

In the amp version, in the search module, the product show the price even when they have the “show price” unchecked. It also happen with some other modules like recently viewed or compare, but i made some code to fix it because it was important for our client. But i haven´t been able to do it with this.

Comments

Fred 12 May 2021, 12:25

but desktop website also has prices there https://take.ms/8ZNDu

How to see the problem?

Douscents Consulting 12 May 2021, 12:45

Thats because the products you see there has not the "show prices" unchecked. I send you 2 atachments so you can see. In the first one you can see the search in desktop with products with the "show price" checked. In the second you can see the a search with the products with "show prices" unchecked.

As you can see the first one show the products and the second dosn't.

In amp version that dosn't work, and even when the product is not able for sell and have selected not show prices, shows it.

This is really important for our client, and for legal matter he must not show the prices of this products. For that we hide all the prices in amp version in the search bar via css. But if you check the inspector you can see the prices are there.

If you have any doucbt about this ask me and ill try to explain with more detail.

Fred 13 May 2021, 12:26

The issue should be fixed now.
But I don't know how to check that. Please test it out

Douscents Consulting 13 May 2021, 12:54

Its working, thank you.

Fred 13 May 2021, 14:05

You are welcome!