Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / includes/class-wc-cart-session.php

WC_Cart_Session::persistent_cart_destroy()

Method: Delete the persistent cart permanently.

Source: includes/class-wc-cart-session.php:269

Used by 0 functions | Uses 0 functions

WC_Cart_Session::set_cart_cookies()

Method: Set cart hash cookie and items in cart if not already set.

Source: includes/class-wc-cart-session.php:280

Used by 1 function | Uses 2 functions

WC_Cart_Session::get_saved_cart()

Method: Get the persistent cart from the database.

Source: includes/class-wc-cart-session.php:313

Used by 1 function | Uses 0 functions

WC_Cart_Session::populate_cart_from_order()

Method: Get a cart from an order, if user has permission.

Source: includes/class-wc-cart-session.php:337

Used by 1 function | Uses 8 functions

WC_Cart_Session::init()

Method: Register methods for this object on the appropriate WordPress hooks.

Source: includes/class-wc-cart-session.php:47

Used by 0 functions | Uses 0 functions

WC_Cart_Session::get_cart_from_session()

Method: Get the cart data from the PHP session and store it in class variables.

Source: includes/class-wc-cart-session.php:71

Used by 0 functions | Uses 11 functions

woocommerce_pre_remove_cart_item_from_session

Filter Hook: Allow 3rd parties to validate this item before it’s added to cart and add their own notices.

Source: includes/class-wc-cart-session.php:127

Used by 1 function | Uses 0 functions

woocommerce_cart_item_removed_message

Filter Hook: Filter message about item removed from the cart.

Source: includes/class-wc-cart-session.php:142

Used by 1 function | Uses 0 functions

WC_Cart_Session::destroy_cart_session()

Method: Destroy cart session data.

Source: includes/class-wc-cart-session.php:196

Used by 0 functions | Uses 1 function

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

Used by 0 functions | Uses 1 function
1 2 Next »
Proudly powered by WordPress