Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi everyone,
I’m encountering an issue on my Shopify website where the “Add to Cart” button stops working once a variant is selected. This problem is affecting the entire website, not just a specific product.
Details:
It’s not due to items being out of stock.
It’s not caused by any app conflicts.
I did modify the code a while ago to customize my swatches (as it wasn’t built-in), and I set the “Add to Cart” button to redirect straight to Checkout.
Unfortunately, I’m not a developer and don’t have much coding experience, so troubleshooting has been challenging. If anyone has encountered a similar issue or has suggestions on how to resolve this, your help would be greatly appreciated!
Thanks so much in advance!
Hi @HnP_Solutions, can you share your website URL? Have you tried rolling back your code changes?
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