All things Shopify and commerce
Hello, I've searched through a lot of similar questions about this and none have seemed to fix the problem
I have got a Problem with my Add to cart button. If i switch the variant (colour or size) of the Product, the add to cart button gets grey and i cannot click it anymore. Just After refreshing the site i can click on add to cart but only for the firsst variant. If i press another variant, i cant click it again.
Website link - thevaultcompany.ca
Hello @VaultCo ,
Sometimes it's working, sometimes it's not.
And same with errors sometimes it throws errors in console sometimes it's not.
Actual case is a JS conflict.
You need to revert the change you did in global.js or product template recently. Also check the apps which you installed/uninstalled recently.
btw if nothing works then you need to go with a developer to fix it.
Regards
Guleria
Hi @Guleria, I understand this, but unfortunately, I do not have coding experience. Would you be willing to help me out with this?
@VaultCo Yes sure, I provide services. Please drop an email to discus it further.
You can find email in signature below.
Regard
Guleria
Hey @VaultCo check out the marked reply here https://community.shopify.com/c/technical-q-a/cant-click-add-to-cart-after-switching-variants/m-p/20...
Just as I thought, you might have to remove some code due to the switch.
Hi @Yabiola, I understand this, but unfortunately, I do not have coding experience. Would you be willing to help me out with this?
Hi @Bundler-Manuel , I understand this, but unfortunately, I do not have coding experience. Would you be willing to help me out with this?
How do we start? Do you want me to share Collaborator link so that you can check our theme code?
Well, I could clearly see there is an error related to VariantChange in your global.js. I'm sure we'll be able to fix it. Attaching the screenshot for your reference.
Please share your collaborator code so that we can send you a store access request and fix this.
Thanks,
Shubham | Untechnickle
Oh, and there’s something brewing behind the scenes that’s redefining customer experience. Curious? It’s time to Revize your store. Don’t say we didn’t warn you.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey 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, 2024