i have problem inwhich when i add other variants to my cart it still only puts the default variant to my cart. Before that i had an Issue where when i clicked on the other variant the add to cart button would be greyed out and i couldnt add any varaints to it. I fixed that. But now like i said i can press the add to cart button for any variation, but it only puts the default one to my cart.
@LitExtension [email removed]Techlyser_ecom maybe you can help please
here my store link: https://mynovaone.com/Self-Cleaning-Brush-for-Cats-and-Dogs
Undo that change and verify if you can add more than the default variant to the cart.
If you can then add more than the default variant then the “fix” you did has a problem and you either need to keep it removed, fix it or hire someone to implement it correctly for you.
When changing variants many issues show up in the console in browser devtools including
this.updateURL is not a function and problems from spurit apps
global.js?v=151970182686909950231681328143:775 Uncaught TypeError: this.updateURL is not a function
at VariantRadios.onVariantChange (global.js?v=151970182686909950231681328143:775:12)
VM283:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (
but if i undo the change i cant add any variant to the card just the default one, so how can i test to add other variants to the cart?
You need to remove variables and confirm behavior every step of the way for every change that has been done.
That’s why you undo it , even if it’s broken you still verifying the initial behavior.
Then get a fresh copy of the theme and verify a fresh copy works as it should.
If in a fresh theme install you still cannot add other variants check each variants inventory settings and disable any apps that affect products/variants on the frontend.
If that reveal anything and a fresh theme install still doesn’t work contact shopify support directly or hire someone to debug it.
Or whatever changes you did to your current live theme to figure out where things went wrong.