From f0c312213fe36f84e1f69c6ed7f931709f4cf4e0 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 1 Mar 2012 00:48:32 +0000 Subject: [PATCH] cookie --- classes/class-wc-cart.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/classes/class-wc-cart.php b/classes/class-wc-cart.php index 81c0e6504b7..f4e33a01ff5 100644 --- a/classes/class-wc-cart.php +++ b/classes/class-wc-cart.php @@ -477,7 +477,9 @@ class WC_Cart { ))); endif; - + + $woocommerce->cart_has_contents_cookie( true ); + $this->set_session(); return true;