I'd like to hide prices from specific collection

Topic summary

A user seeks to hide product prices from a specific collection page on their Shopify store using the Craft theme.

Solution Provided:

  • Add custom CSS code to the theme.liquid file, just above the </body> tag
  • The code targets a specific collection using its handle (e.g., ‘personalised-prints’)
  • Uses CSS to hide price elements with display: none

Implementation:

  1. Navigate to Online Store → Edit Code
  2. Locate theme.liquid file
  3. Insert the provided code snippet before the closing body tag
  4. Replace collection handle with the desired collection name

Current Status:
The original poster confirmed the solution works. However, two additional users encountered issues:

  • One user reports the code doesn’t work for their collection despite following the same steps
  • Another user successfully hid prices from one collection but needs help applying it to multiple collections simultaneously

The helper offered to assist both users through private messages for further troubleshooting.

Summarized with AI on October 27. AI used: claude-sonnet-4-5-20250929.

Hi there!

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

1 Like

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

1 Like

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

2 Likes

Thank you, that’s perfect!

1 Like

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.

1 Like

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