Issue: Users need to hide the “Add to Cart” button from specific collection pages and their associated product pages in Shopify, without affecting other collections.
Initial Solution (Moeed):
Edit theme.liquid file
Add Liquid code above </body> tag that targets specific collection by handle (e.g., “weightlifting”)
Use CSS within conditional logic: .product-grid-item .btn-wrapper { display: none; }
Alternative Approach (WL101):
Instead of editing theme.liquid, added CSS directly to the Custom CSS field of a duplicated collection template
This method isolates changes to only the new template, preserving the original collection page
Ongoing Issues:
One user (GoddessGardenAu) asks for clarification on where to enter Custom CSS and how to limit it to collection pages only
Another user (JustineSermeus) reports the theme.liquid method isn’t working for their “bespoke” collection, despite following the same steps (already has CSS hiding prices on that collection)
Status: Partially resolved with multiple approaches suggested, but implementation challenges persist for some users.
Summarized with AI on October 30.
AI used: claude-sonnet-4-5-20250929.
I am having trouble removing the Add to Cart button from a collection page and from the product pages of the product in this collection. I ONLY want to remove the button from a specific collection and not all collections. I created a new collection template and thought the Custom CSS field would allow me do achieve this, but I can’t seem to find the right selector to remove the button. Does anyone know what selector/code to use or have a different solution that could work?
Hi,
This is the current collection page: https://weightlifting101.com/collections/weightlifting
I created a copy of that collection template for the collection from which I want to remove the button, but I as I haven’t found a solution to this, that collection page has not been published. Apart from the button, the structure of these collections would be the exact same.
Is that what you need to take a further look into it?
Editing the theme.liquid file would have changed the collection page that I wanted to keep as is, wouldn’t it? In this way, I was able to remove the button from only the new template which is what I wanted to do.
I tried to apply what you wrote above … but it didnt work… still showing add to cart option… (note that I applied already a CSS code for no price either on that collection)