I don't want the price to show on collection pages

Topic summary

A user needs to remove product prices from collection pages in their unpublished Shopify theme called “Be Yours.” They had already attempted several coding solutions through ChatGPT without success.

Solution provided:

  • Navigate to Online Store → Edit Code → theme.liquid file
  • Insert custom CSS code above the </body> tag that hides price elements when the template contains ‘collection’

Outcome:
The solution successfully resolved the issue. The user confirmed it worked as intended.

Summarized with AI on November 19. AI used: claude-sonnet-4-5-20250929.

Hi! Currently the price is showing on our collection pages in our new unpublished theme, Be Yours. Screenshot attached. How can I remove the price from collection pages? I’ve tried a few coding solutions through Chatgpt but nothing has worked thus far. Thanks!

Hey @katie_kenney1
Kindly share the preview link of your unpublished theme

Here you go! https://lngon4lw3fln42wg-9261504.shopifypreview.com

Hey @katie_kenney1

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 template contains 'collection' %} 

{% endif %}

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

Best Regards,
Moeed

1 Like

@katie_kenney1 - can you please share the preview link?

That worked. Thank you!