Hello Some clients told me today that when they select a color variation and add it to the cart, it always adds the first color. They’re not able to select a different one. The problem occurs with all products that have variations—it automatically switches to the first color instead of using the selected one..
Topic summary
A store owner reported that customers cannot select product color variations—the cart always adds the first color instead of the chosen one. This affects all products with variations.
Root Cause Identified:
A JavaScript error was found in the product-info.js file. The issue persisted even after disabling and uninstalling the Opus Cart Upsell app, suggesting theme code corruption.
Resolution:
A developer (Shadab_dev) was granted collaborator access and successfully debugged and fixed the variant selection issue on the live site.
Remaining Issue:
A secondary problem emerged with the “Buy More and Save More” bundle feature (powered by Maxbundle app)—selecting pink color still adds blue to cart. The store owner was advised to contact the app developers, as this appears to be app-specific functionality. The developer offered paid assistance if the app support cannot resolve it.
Additional Note:
The cart icon bubble doesn’t update product counts without page refresh, though this wasn’t prioritized for fixing.
Did you try editing code before or installed and app or something that caused this issue?
Asking since you are on the most preferable and used dawn theme and this is a very basic functionality.
I don’t know what’s going on with the cart — I’ve been having a lot of problems with it over the past week
Hi thank you for reply , how can i fix it pls?
do you install any app recently?
This will need some lookout or debugging to check the issue. The file name is known from where the issue is coming from which is product-info.js. Will need collab access to the store to check this out.
Please do check once though to disable apps and check if it works fine if you have installed one.
Best
Shadab
Yes i installed opus cart Upsell but i tried to switch off but still i have same problem
Hi i already tried to disable it but still nothing maybe you can a have a look with collaborator access ? thank you
Let try to uninstall it first, if still facing the same problem then let add me as collaborator to let me check why
May be you can also try to uninstall as well just to be sure. But also send the access code because even if it works after that you would probably need the upsell feature on your store.
I tried uninstalling, but I’m still facing the same problem. How can I add you as a collaborator?
How i can send you the access code pls?
You will find the access code under settings —> users and permissions from your Shopify admin dashboard.
I just sent you pls check it . thank you
Well you didn’t send me the access code but an invitation works as well. I am logged in. Will update you accordingly
Thank you take your time
Hey can you also grant me access to view products, i just need to see how you have set up variants
Hi, I tried to give it to you. Please check if you have it now.
Yes i have it. I am trying to debug the error, will let you know if something comes up.
