I'd like to hide prices from specific collection

Hi there!

I’m having trouble hiding the prices from a specific collection template using the Craft theme. Can anybody assist?

hey @vancouver_k share the URL of your website so i can help you

Hey @vancouver_k

Welcome to Shopify Community! Can you share your Store URL and the collection name so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

Best Regards,
Moeed

Hi there,

it’s not published yet - the link to the page is https://225e55-80.myshopify.com/collections/personalised-prints

The pw is yohray

Thank you

hey @vancouver_k plz share the screen short where do you want to change

Hey @vancouver_k

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 tag

{% if collection.handle == 'personalised-prints' %}

{% endif %}

RESULT:

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

Best Regards,
Moeed

Thank you, that’s perfect!

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

Hi

I’m trying to do this as well for my collections, i’ve added your code just above the tag.

Changed the "personalised-prints’ to ‘my collection name’. But it doesn’t work.

Could you please check?

https://m2v0pc-ya.myshopify.com/pages/thema-bundels

/kr

Boothable

Dries

Hi Moeed,

I’ve just tried your solution, and it worked perfectly for one collection. Thank you!
However, I’d like to remove the price from the grid for more than one collection (for example, if one product happens to be in multiple collections etc). I’ve tried copying and pasting the same bit of code underneath with the new collection name, but that doesn’t work, and I’ve also just tried adding the new collection name in in inverted comma’s after the first one, but that didn’t work either. Would you happen to have a workaround?

Thanks so much!

Jo

Hey @HBIronbridge

Happy to help out with it, feel free to drop more information in private messages and then I can have a look.

Best,

Moeed

Hi Moeed, I am looking for some help with the same issue. I want to hide prices on one specific collection and have applied your workaround to my liquid.them file but it is not working. Would you be able to assist? Please see screenshot below: