Skip to content

[10.1]: Cart of the logged users are not saved after updating to 10.1.0 #60392

@jiggsx

Description

@jiggsx

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

Products in the cart are not being saved when you log out.

Expected behavior

The product of the logged in users should save whenver activity they do unless the checkout or deleted the products.

Actual behavior

The logged in user's products in the cart are remove or not being saved when they close the browser.

Steps to reproduce

  1. make sure you have 10.1.0
  2. Login and add products to the cart.
  3. Close the browser.
  4. Open the browser and log in again
  5. You will the the product in your cart is gone.

I have tested this many time on new updated browser

WordPress Environment

System Status Report
### WordPress Environment ###

WordPress address (URL): [Redacted]
Site address (URL): [Redacted]
WC Version: 10.1.0
Legacy REST API Package Version: ✔ 1.0.5
Action Scheduler Version: ✔ 3.9.3
Log Directory Writable: ✔
WP Version: 6.8.2
WP Multisite: –
WP Memory Limit: 32 GB
WP Debug Mode: ✔
WP Cron: ✔
Language: en_AU
External object cache: –

### Server Environment ###

Server Info: LiteSpeed
Server Architecture: Linux 4.18.0-553.58.1.lve.el8.x86_64 x86_64
PHP Version: 8.1.33
PHP Post Max Size: 2 GB
PHP Time Limit: 900
PHP Max Input Vars: 12000
cURL Version: 7.61.1
OpenSSL/1.1.1k

SUHOSIN Installed: –
MySQL Version: 10.11.14-MariaDB
Max Upload Size: 200 KB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ❌ Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Database ###

[REDACTED]

### Post Type Counts ###

acf-field: 12
acf-field-group: 6
acf-post-type: 3
adt_product_feed: 2
attachment: 46162
b2bwhs_custom_field: 10
b2bwhs_custom_role: 1
b2bwhs_discussion: 1
b2bwhs_group: 3
b2bwhs_rule: 2
cartflows_flow: 1
cartflows_step: 2
ct_template: 11
custom_css: 4
customize_changeset: 14
cwginstocknotifier: 364
itsec-dash-card: 31
itsec-dashboard: 4
nav_menu_item: 764
page: 40
popular-brands: 4
post: 5
product: 9358
product_variation: 13921
revision: 902
seedprod: 1
shop_order: 17226
shop_order_refund: 1
wfacp_checkout: 1
wffn_ty: 1
wmpc-trash: 1413
wp_global_styles: 3
wp_navigation: 1
wp_template: 2
wpcode: 97

### Security ###

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

### Active Plugins (35) ###

Product Stock Manager: by Addify – 1.2.0
Advanced Custom Fields PRO: by WP Engine – 6.4.2
Advanced Google reCAPTCHA: by WebFactory Ltd – 1.31
FiboSearch - AJAX Search for WooCommerce (Pro): by FiboSearch Team – 1.28.1
aThemes Patcher: by aThemes – 1.0.0
B2B & Wholesale Suite: by WebWizards – 1.6.34
Solid Security Basic: by SolidWP – 9.3.10
Botiga Pro: by aThemes – 1.5.2
Clear Cart & Sessions for WooCommerce: by fmeaddons – 1.1.5
Custom Post Type UI: by WebDevStudios – 1.18.0
Essential Blocks: by WPDeveloper – 5.6.0
Gravity Forms: by Gravity Forms – 2.9.15
WPCode Lite: by WPCode – 2.3.0
Max Mega Menu: by megamenu.com – 3.6.2
Product categories search admin for woocommerce: by Andreas Sofantzis – 1.2
Rearrange Woocommerce Products: by Aslam Doctor – 4.3.3
reCaptcha for WooCommerce: by I Thirteen Web Solution – 2.60
Tidio Chat: by Tidio LLC – 6.0.29
Product Feed PRO for WooCommerce: by AdTribes.io – 13.4.3
Product Filter by WBW: by woobewoo – 2.9.3
WooCommerce Bulk Variations: by Barn2 Plugins – 2.3.3
WooCommerce Discount Manager: by Barn2 Plugins – 1.2.7
Eway Payments for Woo: by Eway – 3.8.0
WooCommerce Legacy REST API: by WooCommerce – 1.0.5
WooPayments: by WooCommerce – 9.4.0 (update to version 9.8.0 is available)
WooCommerce Print Invoices/Packing Lists: by SkyVerge – 3.14.0
WooCommerce Sequential Order Numbers Pro: by SkyVerge – 1.21.3 (update to version 1.21.6 is available)
Sequential Order Numbers for WooCommerce: by SkyVerge – 1.11.1
Stock Manager for WooCommerce: by StoreApps – 3.4.0
WooCommerce: by Automattic – 10.1.0
WBW Product Filter PRO: by WBW – 2.8.5 (update to version 2.9.3 is available)
Yoast SEO: by Team Yoast – 25.3.1
WP Crontrol: by John Blackbourn – 1.19.1
WP Sitemap Page: by Tony Archambeau – 1.9.5
WPC AJAX Add to Cart for WooCommerce: by WPClever – 2.1.7

### Inactive Plugins (15) ###

Advanced Order Export For WooCommerce (Pro): by AlgolPlus – 3.5.3
Advance Menu Manager: by theDotstore – 3.1.2
Customizer Export/Import: by The Beaver Builder Team – 0.9.8
Import and export users and customers: by codection – 1.29.1
Login as User: by Web357 – 1.6.1
Maintenance: by WebFactory Ltd – 4.18
Max Mega Menu - Pro Addon: by megamenu.com – 2.4.3
Max Mega Menu - Pro Addon: by megamenu.com – 2.2.8
PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 4.5.2
PDF Invoices & Packing Slips for WooCommerce - Premium Templates: by WP Overnight – 2.24.0
Saved Addresses For WooCommerce: by StoreApps – 3.1.0 (update to version 3.2.0 is available)
Saved Addresses For WooCommerce: by StoreApps – 3.2.0
WBW Product Filter PRO: by WBW – 2.6.7
WooCommerce Checkout Field Editor: by WooCommerce – 1.7.24
WordPress Importer: by wordpressdotorg – 0.8.4

### Dropin Plugins () ###

advanced-cache.php: advanced-cache.php
maintenance.php: maintenance.php

### Settings ###

Legacy API Enabled: ✔
Force SSL: –
Currency: AUD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)

Connected to WooCommerce.com: –
Enforce Approved Product Download Directories: ✔
HPOS feature enabled: ✔
Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
HPOS data sync enabled: ✔
Enabled Features: analytics
marketplace
order_attribution
site_visibility_badge
remote_logging
email_improvements
blueprint
point_of_sale
custom_order_tables


### Logging ###

Enabled: ✔
Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
Retention period: 30 days
Level threshold: –
Log directory size: 337 MB

### WC Pages ###

Shop base: #6 - /shop/
Cart: #435966 - /cart/ -  Contains the [woocommerce_cart] shortcode
Checkout: #8 - /checkout/ -  Contains the [woocommerce_checkout] shortcode
My account: #9 - /my-account/ -  Contains the [woocommerce_my_account] shortcode
Terms and conditions: ❌ Page not set

### Theme ###

Name: Botiga Child
Version: 1.0
Author URL: http://athemes.com
Child Theme: ✔
Parent Theme Name: Botiga
Parent Theme Version: 2.3.2 – 2.3.5 is available
Parent Theme Author URL: https://athemes.com
Theme type: Classic theme
WooCommerce Support: ✔

### Templates ###

Overrides: botiga-child/woocommerce/cart/cart.php version 7.9.0 is out of date. The core version is 10.1.0
Outdated Templates: ❌
					
					
						Learn how to update					 |
					
						
					
					
						Clear system status theme info cache

### WooPayments ###

Version: 9.4.0
Connected to WPCOM: Yes
WPCOM Blog ID: 234559069
Account ID: acct_1PdmgmCA6UUU08q9
Payment Gateway: Disabled
Test Mode: Disabled
Enabled APMs: card
WooPay: Not eligible
Apple Pay / Google Pay: Enabled (product,cart,checkout)
Fraud Protection Level: basic
Multi-currency: Disabled
Auth and Capture: Enabled
Documents: Enabled
Logging: Disabled

### Admin ###

Enabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customize-store
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
onboarding
onboarding-tasks
pattern-toolkit-full-composability
product-custom-fields
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
printful
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page
launch-your-store
add-to-cart-with-options-stepper-layout

Disabled Features: product-data-views
experimental-blocks
experimental-iapi-mini-cart
experimental-iapi-runtime
coming-soon-newsletter-template
minified-js
product-pre-publish-modal
settings
async-product-editor-category-field
product-editor-template-system
use-wp-horizon
experimental-wc-rest-api

Daily Cron: ✔ Next scheduled: 2025-08-16 02:13:19 +11:00
Options: ✔
Notes: 178
Onboarding: skipped

### Action Scheduler ###

Complete: 177,057
Oldest: 2025-07-15 08:02:29 +0000
Newest: 2025-08-15 07:39:56 +0000

Failed: 11
Oldest: 2025-06-02 00:12:25 +0000
Newest: 2025-08-14 02:57:34 +0000

Pending: 8
Oldest: 2025-08-15 07:59:54 +0000
Newest: 2025-09-02 22:22:07 +0000


### Status report information ###

Generated at: 2025-08-15 18:58:09 +11:00

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
    • I can reproduce this bug consistently using the steps above.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions