Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
We have had the store for 3 years. Nothing has been changed by us in the last few days however today I was made aware of an issue where only the first option in product variants is being added to cart, regardless of which option the customer selects.
The issue has arisen sometime between Friday and Today.
I am not familiar with code, however inspecting the issues on Chrome, I can see an error stating "the labels FOR element doesn't match any element ID. The 3 resources are the 3 variant labels so I assume this is relevant?
Below is a link to one of our products though all products with variants are being affected.
Thank you for the help,
Kathryn
Solved! Go to the solution
This is an accepted solution.
I am able to successfully add different variants with different options to the cart for the linked product, see embedded screenshot.
Chrome latest version, windows desktop.
No sign of any errors about FOR attributes associated labels.
Generally a label missing that doesn't keep a form from working properly.
Without being able to reliably reproduce the problem it will be hard to find the issue.
Different variants in cart
Contact [email protected] for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
This is an accepted solution.
I am able to successfully add different variants with different options to the cart for the linked product, see embedded screenshot.
Chrome latest version, windows desktop.
No sign of any errors about FOR attributes associated labels.
Generally a label missing that doesn't keep a form from working properly.
Without being able to reliably reproduce the problem it will be hard to find the issue.
Different variants in cart
Contact [email protected] for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hi Paul,
Thank you for your time.
I was coming to remove the post as I decided to rebuild the site as I noticed it was only affecting the live theme.
Happy new year!
Kathryn
Im having the same issue and do not know how to solve it please reach back thanks.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024