WC_Cart_Session::maybe_set_cart_cookies()
Method: Will set cart cookies if needed and when possible.
Source: includes/class-wc-cart-session.php:211
Method: Will set cart cookies if needed and when possible.
Source: includes/class-wc-cart-session.php:211
Method: Sets the php session data for the cart and coupons.
Source: includes/class-wc-cart-session.php:224
Method: Returns the contents of the cart in an array without the ‘data’ element.
Source: includes/class-wc-cart-session.php:240
Method: Save the persistent cart when the cart is updated.
Source: includes/class-wc-cart-session.php:254
Method: Delete the persistent cart permanently.
Source: includes/class-wc-cart-session.php:269
Method: Set cart hash cookie and items in cart if not already set.
Source: includes/class-wc-cart-session.php:280
Method: Get the persistent cart from the database.
Source: includes/class-wc-cart-session.php:313
Method: Get a cart from an order, if user has permission.
Source: includes/class-wc-cart-session.php:337
Method: Register methods for this object on the appropriate WordPress hooks.
Source: includes/class-wc-cart-session.php:47
Method: Get the cart data from the PHP session and store it in class variables.
Source: includes/class-wc-cart-session.php:71