How can I remove prices from a specific collection page + products within that collection?

How can I remove prices from a specific collection page + products within that collection?

laurendemmmm
Tourist
7 0 1

How can I remove prices from a specific collection page + products within that collection?

URL is : www.demaere.be

 

Thanks!

Replies 3 (3)

Moeed
Shopify Partner
4365 1123 1380

Hey @laurendemmmm 

 

Can you tell me that from which collection you'd like to hide the prices from?

 

Best Regards,

Moeed

Need a Shopify Specialist? Chat on WhatsApp


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
laurendemmmm
Tourist
7 0 1

Hello,

The name of the collection is 'Wedding rings', so this one: https://demaere.be/collections/wedding-rings-2

Moeed
Shopify Partner
4365 1123 1380

Hey @laurendemmmm 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

{% for c in product.collections %}
{% if c.handle == "wedding-rings-2" %}
<style>
.price {
    display: none;
}
</style>
{% endif %}
{% endfor %}

RESULT:

Moeed_0-1696340793675.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

Need a Shopify Specialist? Chat on WhatsApp


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️