Remove product pricing For Specific Collection Pages

Remove product pricing For Specific Collection Pages

mrtechboy123
Tourist
4 0 1

I have trouble removing product pricing for specific collections. I hope to hide the $0 for the products for this collection page (https://sheldonsg.myshopify.com/collections/tv-console-table). 

The pw to the website is "tewdro".

I really need help on this, I really appreciate it if anyone could let me know the solution to this problem 🙂

mrtechboy123_0-1607761050040.png

 

Reply 1 (1)

Not applicable

Hi Mr TechBoy,

 

Welcome to Shopify Community, hope this message finds you well. 

 

It's Aibek from Growavelabs Agency: https://growavelabs.com/

 

Regarding your question about prices in collection: 

 

To hide prices, you will need to check a specific collection. For example like this:


{% unless collection.title contains "Winter collection"%}
{% include 'product-price'%}
{% endunless%}


Prices are usually found in the liquid file product-grid or product-card. This is where the check should be inserted. The file names may differ depending on the theme. Instead of the winter collection, replace it with your collection name. 

 

Hope this helps you. 

 

If you will have other questions, do not hesitate to send me a message here: [email protected]