Change.js is blowing up my cart page because of a 422 error

Change.js is blowing up my cart page because of a 422 error

Dave_Merwin
Shopify Partner
4 0 0

When a customer has an item in their cart, and they try to change the quantity past what is available in the inventory, change.js responds with a 422 error that refreshes the page and shows an empty cart. But if you refresh the page, then teh cart items are there.

 

This is the Debut theme.

 

Any suggestions?

Replies 4 (4)

beauxbreaux
Shopify Partner
299 27 60

May want to check and see if you have any updates for your theme.

Beaux Barker
Developer
Buy me a Coffee
Dave_Merwin
Shopify Partner
4 0 0

Yeah, I did, it's just stops working altogether.

beauxbreaux
Shopify Partner
299 27 60

Can you share the URL? I can take a look at the error logs.

Beaux Barker
Developer
Buy me a Coffee
Dave_Merwin
Shopify Partner
4 0 0

https://espressocare.com

 

If you add more than one of these to the cart, AFTER you are in the cart, you'll see the error:

https://espressocare.com/products/elektra-mini-verticale-espresso-machine