Need help removing 'add to cart' button on a specific production collections

Topic summary

A user is attempting to hide ‘Add to Cart’ buttons for specific product collections by tagging products with ‘noshow’ and adding code to product.liquid, but the implementation isn’t working.

Key Issue Identified:

  • The code was placed in the wrong template file (product.liquid instead of collection.liquid)
  • product.liquid controls individual product pages, not collection pages

Recommended Solutions:

  1. Use collection.liquid or similar collection template files
  2. Implement custom CSS settings or custom Liquid sections/blocks to preserve theme upgradeability
  3. Create an alternate template for affected collections and disable the Add to Cart setting for those specific templates
  4. Avoid direct code edits to maintain theme update compatibility

Status: The discussion remains open with guidance provided but no confirmation of resolution. Supporting documentation links were shared for creating templates and adding custom CSS in Shopify themes.

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

Hello! I need help removing the ‘Add to Cart’ buttons from specific product collections.

I tried to group those products by adding ‘noshow’ tags and adding the following code to the product.liquid file but did not work. What am I doing wrong?

https://autoboxclub.com/collections/small-toll-pass

{% if product.tags contains 'noshow' %}

{% endif %}

Which theme.

product.liquid is for product pages not collections, you need collection.liquid or similar.

Really for such customizations you should be using either custom-css setting or custom-liquid sections/blocks in those templates to avoid editing code and making themes not be upgradable.

https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/add-css

If the AtC showing is a theme setting for the collections product grid instead use an alternate template and turn the setting off for those collections assigned that template

https://help.shopify.com/en/manual/online-store/themes/os20/theme-structure/templates#create-a-new-template