Solved

Hide product prices on a specific collection page Ride 2.0 theme

tanithecreative
Shopify Partner
9 0 6

Hi, I'm looking for a little help trying to hide the pricing of only 1 collection page (collection: portfolio) in Ride theme. I've looked at different solutions but unable to get it resolved using those. My store URL is: https://tatiana-pustovetova.myshopify.com/ , with no password. Thank you in advance!

 

 

tanithecreative_0-1652561986955.png

 

Accepted Solution (1)

sakinur-rahman
Shopify Partner
125 16 19

This is an accepted solution.

@tanithecreativeThanks for posting here. Please add this code on the bottom of the theme.liquid file.

 

{% if template.suffix contains 'portfolio' %}

<style>

.price {
display: none !important;
}

</style>

 

{% endif %}

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications -

Your Coffee Tip and my code, A perfect blend. ❤️ Buy Me A Coffee


Website: HelloSakin.com

View solution in original post

Replies 3 (3)

sakinur-rahman
Shopify Partner
125 16 19

This is an accepted solution.

@tanithecreativeThanks for posting here. Please add this code on the bottom of the theme.liquid file.

 

{% if template.suffix contains 'portfolio' %}

<style>

.price {
display: none !important;
}

</style>

 

{% endif %}

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications -

Your Coffee Tip and my code, A perfect blend. ❤️ Buy Me A Coffee


Website: HelloSakin.com
tanithecreative
Shopify Partner
9 0 6

Thank you so much @sakinur-rahman ! I will be giving it a try right now

sakinur-rahman
Shopify Partner
125 16 19

Great, thank you

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications -

Your Coffee Tip and my code, A perfect blend. ❤️ Buy Me A Coffee


Website: HelloSakin.com