Updating product qty shows up correctly in cart.js but on checkout page it still shows old qty

Updating product qty shows up correctly in cart.js but on checkout page it still shows old qty

vivek_vndr
Shopify Partner
5 0 0

We are using a Shopify App which limits the quantity of a particular product. If user tried to increase or decrease the qty of specific product then we are resetting the qyt using Shopify AJAX API's and after refresh it shows updated qty in Networks tab -> cart.js. However, when we move to checkout then the product qty at checkout don't match to the product qty in cart.js. 
Note - This gets resolved if we refresh the page after resetting the qty but we don't want to refresh/reload the page and the product qty in cart.js should match the product qty at checkoutScreenshot 2023-09-11 at 6.30.32 PM.pngScreenshot 2023-09-11 at 6.33.14 PM.png

Replies 0 (0)