-
Notifications
You must be signed in to change notification settings - Fork 684
Description
Describe the bug
When a user adds an item to their cart, leaves the site, and later returns, the cart appears empty until a new item is added. After adding a new item, both the previously added item(s) and the new one are displayed.
To reproduce
- Visit the site.
- Add an item to the cart.
- Leave the site by either:
3.1 Reloading the page, or
3.2 Closing the tab/browser and returning later. - Observe that the cart appears empty.
- Add another item to the cart.
- The cart then displays both the original item(s) and the newly added item.
Expected behavior
The cart should persist and display previously added items immediately upon returning to the site, without requiring a new item to be added.
Debug Report
ℹ Inspecting Dependencies
Found 10 @magento dependencies in
yarn.lock
@magento/pwa-buildpack @ 11.5.5
@adobe/apollo-link-mutation-queue @
1.0.2
@adobe/magento-storefront-events-sdk
@ 1.13.0
@magento/babel-preset-peregrine @
1.3.3
@magento/eslint-config @ 1.5.3
@magento/pagebuilder @ 9.3.6
@magento/peregrine @ 15.6.2
@magento/pwa-theme-venia @ 2.4.0
@magento/upward-security-headers @
1.1.19
@magento/venia-ui @ 11.7.1
ℹ Inspecting Magento Backend
Not using sample backend.
Backend is UP!
ℹ Inspecting System
OS: #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025
Node Version: v20.19.4
NPM Version: 11.6.0
Please complete the following device information:
- Device [e.g. iPhone6, PC, Mac, Pixel3]: All
- Browser [e.g. Chrome, Safari]: All
- Browser Version [e.g. 22]: All
- Magento Version [e.g Adobe Commerce 2.4]: Magento Open-Source version: 2.4.8-p3
Please let us know what packages this bug is in regards to:
-
venia-concept -
venia-ui -
pwa-buildpack -
peregrine -
pwa-devdocs -
upward-js -
upward-spec -
create-pwa