Hi, I’m using Refresh Theme for my Shopify store. I have two collections - I want one to show ‘add to cart’ button on one collection (the T-shirts I’m selling), but I dont want it on my other collection (the artworks I have already sold out of). I just want the artworks there for display and cosmetic purposes, but still want to sell T-Shirts.
Be sure to set those products to inventory control and have 0 stock to prevent selling if one of those products is add to a users checkout somehow.
For Refresh, an OS2.0 theme, and its collection pages to hide products-cards buttons make an alternate template for that collection and in it’s settings give it a custom-liquid code section/block then use the following CSS
For product pages themselves using OS2.0 theme with the non selling products use an alternative template with the buy buttons block disabled/deleted. Then in the product bulk editor for products of that collection mass apply that alternate template.
Note the above only then applies to product pages and not add-to-cart buttons on product cards on /collections pages as those will still show.
Same for features like quickviews, quickadd, may need to just be disabled on the site for a quick fix.
Otherwise you would need an advanced customization to edit the logic of the relevant product templates/sections/snippets to hide such buttons when a product is in that collection.
If you need that setup or a deeper change you can contact me by DM, or the contact info in my signature; please provide context(post url, store url, theme name, issue)
oh sorry for any issue can you please share store url
Hi Ketan,
This is the page where I DON’T want buttons on: https://www.incognitoartshow.com/collections/2022-artworks-artists-revealed
This is the page where I DON’T want buttons on: https://www.incognitoartshow.com/products/longsleeve-shirt
Are you able to help?