Why is the wrong product variant being added to my online store's cart?

Why is the wrong product variant being added to my online store's cart?

ameridown
Visitor
2 0 0

We're experiencing some incorrect variants being added to cart. I've read through all of the discussions here and haven't found a solution that works for our store/theme. We're using Symmetry and have noticed the error on our pillows. Example: https://ameridown.com/products/premier-down-feather-blend-pillow?variant=31170924019778

 

Sometimes the variant showing up in the cart will be the first variant: standard/soft. Other times the variant in the cart will be the same as the variant you just added. For instance, if I add a queen/medium and then add a king/firm, I end up with 2x queen/medium in my cart.

 

Any ideas?

Replies 3 (3)

JonathanX
New Member
4 0 0

Hi @ameridown ,

I looked at your site and found the issue might be that the script won't load successfully on the product page.

When that happens, selecting the options (size or support) won't actually update the variants that is added to the cart. You could replicate it by noticing the `?variant=xxx` in your URL. the variant ID suppose to be changed when you change options.

ameridown
Visitor
2 0 0

Hi @JonathanX 

Thanks for pointing that out. I see that the variant ID is not updating in the URL. Can you help me fix the script that's causing the issue?

 

lkepchar
Visitor
1 0 0

I am having the same issue. No matter what variant I choose, the only variant that shows up in the cart is the first option size small. Did you have a fix for this? You can test it out here https://www.bootywrap.com/products/black-bootywrap. If you add medium or large to the cart it always says small.