Why is only the first product variant being added to cart?

Solved

Why is only the first product variant being added to cart?

kathrynpristine
Not applicable
2 0 0

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.

 

https://pristine.land/collections/the-lucchetto-collection/products/lucchetto-short-sleeve-dress?var...

 

Thank you for the help,

 

Kathryn

 

Accepted Solution (1)

PaulNewton
Shopify Partner
7087 630 1484

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

PaulNewton_0-1704128927940.png

 

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


View solution in original post

Replies 3 (3)

PaulNewton
Shopify Partner
7087 630 1484

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

PaulNewton_0-1704128927940.png

 

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


kathrynpristine
Not applicable
2 0 0

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

 

binyamzere
Visitor
1 0 0

Im having the same issue and do not know how to solve it please reach back thanks.