Shopify themes, liquid, logos, and UX
Hi I am working on a theme that hasn't been published because we're retooling the whole design of our website. We're using Empire. I have not been able to remove the add to cart button in one specific product template (I don't want it for certain products but for others yes). I already have another button to Request a Quote that will replace the add to cart button. But when I click to remove the form block in the template it also removes the variant options and I want to keep those. Is there a way to separate the variant options and the add to cart button within the form snippet so that I can only hide the add to cart button?
Something like this is what I want:
Solved! Go to the solution
This is an accepted solution.
Hi @dpzcr,
Please go to Customize > Products > Custom CSS and add code:
.product-form--atc {
display: none;
}
Yes you can do this with if conditions you dont need to create different templates just for this. Please send your url and i will try this out for you.
Best
Shadab
EDIT: Oh somebody else helped me and it worked perfectly but thank you for your help!
---
I do have it as a different template because it's not only this feature that is different from other product pages so it'd be better if it worked with a template. texas-process-technologies.myshopify.com is my URL but I haven't yet published this theme as there are many pages that have to be adjusted and I would rather do it when I'm done with everything as we don't want to stop selling (we'll likely publish this on a weekend).
Hi @dpzcr
Normally the buttons can be removed from your template, just by click removing button. like below.
This is an accepted solution.
Hi @dpzcr,
Please go to Customize > Products > Custom CSS and add code:
.product-form--atc {
display: none;
}
Oh, that worked perfectly, thank you very much!
Hi @dpzcr,
You're welcome and happy to help 🙂
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025