Difference between revisions of "WooCommerce - Sessions expiring causing cart to be empty on WooCommerce"

From Hostek.com Wiki
Jump to: navigation, search
(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...")
(No difference)

Revision as of 15:50, 9 May 2016


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.