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 🙂
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024