PROBLEM WITH CART

Solved

PROBLEM WITH CART

PeppePro02
Explorer
51 1 10

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.. 

 

rdmalta.com

Accepted Solution (1)
Shadab_dev
Shopify Partner
1512 81 166

This is an accepted solution.

I believe you are using an app for this bundle discount feature. 

 

You can try contacting the app developers for this. If they give you a solution great, if not then myself am not too sure but I can definitely try to debug this or may be work around to come up with a solution. But will have my service charges included this time if i can come up with something.

 

Also I don't know if you have noticed your cart bubble on the header cart icon which shows the number of products in the cart does not update on the go and the page needs to be refreshed for the changes to show. 

 

Which app are you using by the way for this bundle feature??

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.

View solution in original post

Replies 24 (24)

BiDeal-Discount
Shopify Partner
782 101 174

Hi @PeppePro02 

The javascript code on your product page seem having problem when switch variant. Screenshot 2025-05-19 at 16.26.27.png

- Helpful? Like & Accept solution! Coffee tips fuel my dedication.
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Contact me via WhatsApp
PeppePro02
Explorer
51 1 10

Hi thank you for reply , how can i fix it pls? 

BiDeal-Discount
Shopify Partner
782 101 174

do you install any app recently?

- Helpful? Like & Accept solution! Coffee tips fuel my dedication.
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Contact me via WhatsApp
PeppePro02
Explorer
51 1 10

Yes i installed opus cart Upsell but i tried to switch off but still i have same problem

BiDeal-Discount
Shopify Partner
782 101 174

Let try to uninstall it first, if still facing the same problem then let add me as collaborator to let me check why

- Helpful? Like & Accept solution! Coffee tips fuel my dedication.
- BiDeal Bundle Volume Discounts: Upsell with discount bundles, quantity breaks, volume discounts & mix-and-match bundles. AOV+ with free gifts, free shipping & progressive cart
- Contact me via WhatsApp
PeppePro02
Explorer
51 1 10

I tried uninstalling, but I'm still facing the same problem. How can I add you as a collaborator?

Shadab_dev
Shopify Partner
1512 81 166

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. 

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
PeppePro02
Explorer
51 1 10

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

Shadab_dev
Shopify Partner
1512 81 166

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

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
PeppePro02
Explorer
51 1 10

Hi i already tried to disable it but still nothing maybe you can a have a look with collaborator access ? thank you

Shadab_dev
Shopify Partner
1512 81 166

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.

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
PeppePro02
Explorer
51 1 10

How i can send you the access code pls?

Shadab_dev
Shopify Partner
1512 81 166

You will find the access code under settings ---> users and permissions from your Shopify admin dashboard.

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
PeppePro02
Explorer
51 1 10

I just sent you pls check it . thank you

Shadab_dev
Shopify Partner
1512 81 166

Well you didn't send me the access code but an invitation works as well. I am logged in. Will update you accordingly 

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
PeppePro02
Explorer
51 1 10

Thank you take your time

Shadab_dev
Shopify Partner
1512 81 166

Hey can you also grant me access to view products, i just need to see how you have set up variants

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
PeppePro02
Explorer
51 1 10

Hi, I tried to give it to you. Please check if you have it now.

Shadab_dev
Shopify Partner
1512 81 166

Yes i have it. I am trying to debug the error, will let you know if something comes up.

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
Shadab_dev
Shopify Partner
1512 81 166

Hey, found the bug. Works pretty well now adding the right variants to the cart. Since it looked good i made the changes on the published theme so the live site as well. 

Best 
Shadab

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
PeppePro02
Explorer
51 1 10

Hey, I just saw it now – thanks a lot! Just one last thing, I don’t know if you can fix it: when I select the 'Buy More and Save More' option and choose the pink color, then press 'Add to Cart' to get the discount, it still adds the blue color to the cart. A client just told me about this. Sorry to bother you again!

Shadab_dev
Shopify Partner
1512 81 166

This is an accepted solution.

I believe you are using an app for this bundle discount feature. 

 

You can try contacting the app developers for this. If they give you a solution great, if not then myself am not too sure but I can definitely try to debug this or may be work around to come up with a solution. But will have my service charges included this time if i can come up with something.

 

Also I don't know if you have noticed your cart bubble on the header cart icon which shows the number of products in the cart does not update on the go and the page needs to be refreshed for the changes to show. 

 

Which app are you using by the way for this bundle feature??

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
PeppePro02
Explorer
51 1 10

I'm using Maxbundle. I contacted them and I hope they will fix it. Thank you for your help.

Shadab_dev
Shopify Partner
1512 81 166

Sure thing. 

Until next time, good luck with your store and your business

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.