I’m trying to hide the prices of the products categorized in a specific collection.
This means that the price of the other products included in other collections should still be shown.
I am using a Prestige Theme for my website.
I’ve been searching a lot but couldn’t find the answer because all the solutions out there didn’t fit my situation. Thanks ahead for any help you could make for me.
Hi @yenchoi010
Could you share that collection link?
@yenchoi010 - this will need code editing to check if product is part of that particular collection and if yes then do not show the price…
I hope this solution will works. feel free to text me back if you have any question.
Please follow below steps
- Go to Online Store
- Edit Code
- Find theme.liquid file
- Add the following code in the bottom of the file above tag
{% if collection.handle == ‘on-the-wall’ %}
.ProductItem__PriceList{
display:none!important;
}
{% endif %}
2 Likes
Thank you so much!! It worked perfectly. Could you help me more, if you may? Is there also a way to hide the price in the product page? I succeeded in hiding the price at the collection page, but when I go into the product page, the price is still shown.
@yenchoi010
Update this code
.ProductItem__PriceList, .ProductMeta__Price{
display:none!important;
}
It will work when you go to product by a you collection page
By this collection: https://thestroll.gallery/collections/on-the-wall
1 Like
Thanks again. This is really brilliant! It has worked perfectly again 
But I’ve got some more issues with the same collection, so could you please help me solve these issues?
-
Change the ‘Add to Cart’ button into ‘Inquiry’ button.
-
When the customers click the ‘Inquiry’ button, they should be able to send e-mail to us directly.
These should only work with ‘On the Wall’ collection. Thank you in advance!
Hi Alok,
I’m trying to achieve a very similar thing, but need to hide the price based on either the product tag business-listing or by the product template (business-listing-free or business-listing-standard or business-listing-premium).
I tried using the code you recommended, changing ‘collection.handle’ to ‘product.tags’ (I guessed!) but no luck. I’d hugely appreciate it if you could help me with this please.
I’m using Dawn theme v11.0.0
I need the same help!
I’ve been trying to hide prices on products sold out and i’ve tried different codes and nothing seems to work. Can you help me with this?