Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi there, I am currently trying to figure out what is going on with one of our online stores.
Every time a customer adds an item to the cart, the wrong variant (size) is being added.
This is on a wholesale site we have set up and we have never encountered an issue with our main store so I can't really seem to troubleshoot this.
Hello @DevinFortyNine ,
Most of the time it happens because of the JS conflict.
Can you share your store URL so I can check and confirm?
Thanks
We are experiencing the same issue.
Every time a customer adds an item to the cart, the wrong variant (size) is being added.
Hello @cleanherbalsAU ,
You can DM/share the store URL, so I can check and let you know the issue.
Thanks
Ignore this, after refreshing my DevTools window was cutting off text.
Issue is a conflict.
On change of the variant you can see this error in the browser console
Uncaught TypeError: _.map is not a function
To fix it:
Revert the changes you did recently.
or
Uninstall the apps you installed recently.
or
Call a developer to check the JS and fix it.
I'm a developer too but you can pick anyone you want. Developer contact found in the signature.
Yes you can drop an email to discuss further.
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024