WooCommerce - Sessions expiring causing cart to be empty on WooCommerce

From Hostek.com Wiki
Revision as of 15:50, 9 May 2016 by Briana (Talk | contribs) (Created page with "__FORCETOC__ ==Problem - WooCommerce cart appears empty after a few minutes== Occasionally with WooCommerce you may notice your cart appears empty after a few minutes when...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Problem - WooCommerce cart appears empty after a few minutes

Occasionally with WooCommerce you may notice your cart appears empty after a few minutes when it shouldn't be.


Resolution - WooCommerce cart appears empty after a few minutes

In researching this problem, we have found the following solution.

In the MySQL database, for the wp_woocommerce_sessions table, the session_id column needs the "Auto-Increment" (A_I) enabled.