Product Bug: Variant Selection not working

Solved

Product Bug: Variant Selection not working

mckennahurcomb
Visitor
3 0 0

When you select any size and then add to cart then the cart automatically shows the first default product instead of what the customer selected. Help... how do I fix this?

 

Example: I wanted a large dog harness so I select large and add to cart. In my cart it shows I selected small when I selected large.

Accepted Solution (1)

Guleria
Shopify Partner
4049 796 1145

This is an accepted solution.

Hello @mckennahurcomb ,

It happens because of a JS conflict. And conflict comes when you install/uninstall apps or add custom JS code or by mistake remove any code. 
To fix it: 
1) Try to revert the changes you did recently.
2) Try to find the conflict and fix it. You can check the conflict in browser console.

Thanks  

- Custom themes, UI/UX design, ongoing maintenance & support.
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder

View solution in original post

Replies 7 (7)

Guleria
Shopify Partner
4049 796 1145

This is an accepted solution.

Hello @mckennahurcomb ,

It happens because of a JS conflict. And conflict comes when you install/uninstall apps or add custom JS code or by mistake remove any code. 
To fix it: 
1) Try to revert the changes you did recently.
2) Try to find the conflict and fix it. You can check the conflict in browser console.

Thanks  

- Custom themes, UI/UX design, ongoing maintenance & support.
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder
mckennahurcomb
Visitor
3 0 0

What should I do if an app service provider made the addition for me and I am unsure of what JS they changed?

mckennahurcomb
Visitor
3 0 0

What should I do if an app service provider made the addition for me and I am unsure of what JS they changed?

Guleria
Shopify Partner
4049 796 1145

Let them know about the issue which you are facing after they made customization in your store.

- Custom themes, UI/UX design, ongoing maintenance & support.
- Drop an email   if you are looking for quick fix or any customization
- Email: guleriathakur43@gmail.com Skype: live:navrocks1
- Try GEMPAGES a great page builder
Elisaw
Explorer
79 2 11

@GuleriaI am also having the variable not working in cart issue and can't figure out why. Would you be able to help me? https://tartar-berlin.com. Thanks for your time!

Elisaw
Explorer
79 2 11

@Gulerianevenmind! Seems like I am getting it to work. Although I still see a lot of issues in the inspector. Do you know how I could solve these? Screen Shot 2022-05-19 at 2.47.35 PM.png

LaurensF
New Member
4 0 0

Dear Guleria,

We encounter the same problem however, there were no apps (de)installed around the time it happened and we also didnt change anything in the code. It happened spontaneously. Any ideas how we can best approach this problem in our specific situatio?