There was an error while updating your cart Please try again

There was an error while updating your cart Please try again

谷歌seo
Shopify Partner
4 0 0

 

Hello,
Our site is at gloveleya.com
When we click the "add to cart "button , we receive an error message " There was an error while updating your cart. Please try again."
But on refresh, the cart has updated perfectly.
Of course, we would like to skip the error message and go straight to the reloaded page. Can anyone help...?

Thank you so much

shopify.png

Replies 5 (5)

Shadab_dev
Shopify Partner
1399 72 152

This is probably due to some big in the code. Since it does update on load that means it is working. So on adding product to cart an ajax load on the page or the main product document would probably solve this issue but it will need some looking up.

 

Please reach out via mail for a convenient conversation.

 

Thanks 

Shadab Ali

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.
谷歌seo
Shopify Partner
4 0 0

Can you provide specific opinions? This is my email

谷歌seo
Shopify Partner
4 0 0
sir,Why didn't this issue occur before? We didn't make any changes, but
there was indeed a problem
Shadab_dev
Shopify Partner
1399 72 152

You may not have changed code but did you add any apps or something to your store. It is possible the code must be clashing.  If you have try removing them and checking if the error exists.

 

How long has this been happening?

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.
谷歌seo
Shopify Partner
4 0 0

This problem has been around for 2 days, and I haven't installed any apps recently. I don't know which app caused it. Can you help me check it