Quote:
Originally Posted by Chicago Nutrition
Some manufacturers require you to have non advertised pricing. So if you go below a their Minimum Advertised Price, you cannot advertise it. Which is why Best Buy and other stores hide their prices until you add them to the cart. Is there a way to achieve this with Ecwid? Because it is only for certain products, i only want to have the prices hidden for a select few products when i get a great deal on them.
|
It is possible in Ecwid to hide price of a particular product until it is added to the cart.
As you probably know, there is a way to hide product prices in a store at all (by modification of your
custom CSS theme):
http://kb.ecwid.com/w/page/21851989/...t%22%20buttons
There is also a special technique to apply CSS changes only to a particular product or category:
http://kb.ecwid.com/w/page/46376921/...s%20in%20Ecwid
So, in order to hide prices for a particular product on the product details page you should use the following code:
Code:
div.ecwid-productBrowser-ProductPage-<product ID> div.ecwid-productBrowser-price {
display:none;
}
where
<product ID> should be replaced with the ID of the product which you want to hide price for. The following document in our Knowledge base describes how a product ID can be found:
http://kb.ecwid.com/w/page/23947812/...0or%20category
However, the suggested code will hide price only on the product details page. To hide it on a category listing page you should place all products, which you want to hide price for, under the same category and hide product prices there with the help of the following code:
Code:
div.ecwid-productBrowser-CategoryPage-<category ID> div.ecwid-productBrowser-price {
display:none;
}
where
<category ID> should be replaced with the ID of that category. As a result, no price will be displayed on the corresponding category page.
Using the given code samples, you can hide the prices of particular products in the product catalog, and they will still be visible on the cart page and at the checkout.