I am wanting to remove the prices and add to cart buttons from a specific collection on my website as the products will not be for sale. I have done this with my old site, but now using Taste template.
Any help would be much appreciated!
I am wanting to remove the prices and add to cart buttons from a specific collection on my website as the products will not be for sale. I have done this with my old site, but now using Taste template.
Any help would be much appreciated!
Thanks for reaching out in our Community forums and for sharing your concern, I’d be happy to help.
It sounds like you are looking to edit your product page to remove the price and cart buttons for a specific collection. This is definitely possible with the use of Templates, and I’ll walk you through the process:
After you save and the template is published, you will need to assign it to the products by heading over to the Product tab on the Shopify Admin. Here are the steps below:
Kindly reply back to this thread with any questions or updates and we can continue our conversation further!
Thanks!
Hello @pj3116 ,
You can try to follow these steps:
Go to Online Store → Themes → Actions → Edit code
Go to Sections → collection-template.liquid file
Add this following code at the bottom of page
{% if collection.handle == 'your-collection-handle' %}
{% endif %}
Replace ‘your-collection-handle’ with the handle of the collection you want to target.
Save and preview
Hope this can help.
Transcy
Hi Transcy!
I don’t seem to have the collection-template.liquid file in sections.
Could it be under another name?