Short description of issue
Shopify Ajax API (/cart.js) does not update cart state immediately after add/change requests.
Reproduction steps
- Open an Online Store storefront (no checkout).
- Add a product to cart using POST /cart/add.js.
- Immediately request GET /cart.js after the add request resolves.
- Observe that /cart.js sometimes returns stale data:
- item_count is still 1
- items array does not include the newly added item
- A subsequent /cart.js request (after a short delay) returns correct data.
Additional info
It happens currently
What type of topic is this
Bug report


