Hey,
I would like to know how can I remove the message ‘‘There was an error while updating your cart. Please try again.’’ that is showing when I try to add a product to my cart.
Thanks for the help.
Hey,
I would like to know how can I remove the message ‘‘There was an error while updating your cart. Please try again.’’ that is showing when I try to add a product to my cart.
Thanks for the help.
You can hide the error message using CSS
.product-form__controls-group~.product-form__error-message-wrapper {
display: none;
}
If helpful then please Like and Accept Solution. Want to modify or custom changes on store Hire me. Feel free to contact me on shopify.dev.34@gmail.com | Shopify Design Changes | Custom Modifications In to Shopify Theme
Does it happen with all products? Did you modify your product page recently? I’d try creating a dummy product just to double check whether it’s an issue with the theme or the product per se.
Kind regards,
Diego
Thanks for the answer.
The code is great but the notification of the product added in the cart is not there anymore and if we don’t refresh the page we don’t know the product is on the cart too.
Yes, it appears with all products even when I create a new one. Some people told me it was a problem with the theme.js which contains errors, but I never change anything in it.