Re: Every time customer tries to add item to cart, the wrong variant is added.

Every time customer tries to add item to cart, the wrong variant is added.

DevinFortyNine
Visitor
1 0 0

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.

Replies 11 (11)

Guleria
Shopify Partner
3400 679 963

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

- If helpful then please Like and Accept Solution.
- Drop an email   if you are looking for quick fix or any customization
- Email: [email protected]
- Try GEMPAGES a great page builder
cleanherbalsAU
New Member
5 0 0

We are experiencing the same issue.

Every time a customer adds an item to the cart, the wrong variant (size) is being added. 

 

Guleria
Shopify Partner
3400 679 963

Hello @cleanherbalsAU ,

 

You can DM/share the store URL, so  I can check and let you know the issue.

 

Thanks

- If helpful then please Like and Accept Solution.
- Drop an email   if you are looking for quick fix or any customization
- Email: [email protected]
- Try GEMPAGES a great page builder
cleanherbalsAU
New Member
5 0 0
SomeUsernameHe
Shopify Partner
515 57 109

Ignore this, after refreshing my DevTools window was cutting off text.

Have I helped? Consider putting coffee in my mouth!
Buy Me a Coffee
cleanherbalsAU
New Member
5 0 0
I think this is the link . Once u add to cart will only allow 50gm bag to
purchase

https://www.cleanherbals.com.au/collections/tea-and-infusions/products/hormone-balance-21-day-blend

Guleria
Shopify Partner
3400 679 963

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. 

- If helpful then please Like and Accept Solution.
- Drop an email   if you are looking for quick fix or any customization
- Email: [email protected]
- Try GEMPAGES a great page builder
cleanherbalsAU
New Member
5 0 0
Have u got a developer you can recommend?
Guleria
Shopify Partner
3400 679 963

I'm a developer too but you can pick anyone you want. Developer contact found in the signature. 

- If helpful then please Like and Accept Solution.
- Drop an email   if you are looking for quick fix or any customization
- Email: [email protected]
- Try GEMPAGES a great page builder
cleanherbalsAU
New Member
5 0 0
Happy to have you . Can you please fix it ? What will code be ?
Guleria
Shopify Partner
3400 679 963

Yes you can drop an email to discuss further. 

- If helpful then please Like and Accept Solution.
- Drop an email   if you are looking for quick fix or any customization
- Email: [email protected]
- Try GEMPAGES a great page builder