Hey,
The quantity selector is broken on our cart page, when ever you adjust the quantity of the product it doesnt actually update what is the best way of fixing it? https://sazy.com/cart
Main issue: The quantity selector on the cart page (https://sazy.com/cart) does not update the cart when changed.
Recent findings: A responder inspected the site and reported the cart-drawer.js file is broken (supported by a screenshot). The theme is custom, so standard theme-specific fixes aren’t applicable.
Proposed actions:
Attachments: Screenshots highlight the broken file indication and the API documentation reference; they support the observations but are not strictly required to understand the issue.
Status: No confirmation of a fix yet. Open/ongoing. Next steps are to repair cart-drawer.js and wire quantity inputs to call cart/update, then test that totals and line items refresh correctly.
Hey,
The quantity selector is broken on our cart page, when ever you adjust the quantity of the product it doesnt actually update what is the best way of fixing it? https://sazy.com/cart
Hi @PeterB2 ,
I checked and the cart-drawer.js file is broken
can you send me the theme name you are using? I will check it
Hey Namphan,
Its a custom theme so Im not sure that will be of any help.
Hi @PeterB2 ,
So it will need to be debugged directly, if you want I can send you a collaborator invite and check it
Hi @PeterB2
To correctly update the cart when changing the quantity, you need to use cart/update. Refer to the following link:
https://shopify.dev/docs/api/ajax/reference/cart
If it helps you, please like and mark it as the solution.
Best Regards