Dev Resources

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

WC_Cart::get_cart_item_tax_classes()

Method: Get all tax classes for items in the cart.

Source: includes/class-wc-cart.php:903

Used by 0 functions | Uses 1 function

WC_Cart::check_cart_items()

Method: Check all cart items for errors.

Source: includes/class-wc-cart.php:698

Used by 0 functions | Uses 3 functions

WC_Cart::check_cart_coupons()

Method: Check cart coupons for errors.

Source: includes/class-wc-cart.php:721

Used by 0 functions | Uses 3 functions

WC_Cart::check_cart_item_validity()

Method: Looks through cart items and checks the posts are not trashed or deleted.

Source: includes/class-wc-cart.php:737

Used by 1 function | Uses 2 functions

WC_Cart::check_cart_item_stock()

Method: Looks through the cart to check each item is in stock. If not, add an error.

Source: includes/class-wc-cart.php:757

Used by 1 function | Uses 6 functions

WC_Cart::get_item_data()

Method: Gets and formats a list of cart item data + variations for display on the frontend.

Source: includes/class-wc-cart.php:806

Used by 0 functions | Uses 2 functions

WC_Cart::get_cart_item_quantities()

Method: Get cart items quantities – merged so we can do accurate stock checks on items across multiple lines.

Source: includes/class-wc-cart.php:684

Used by 2 functions | Uses 1 function

WC_Cart::is_empty()

Method: Checks if the cart is empty.

Source: includes/class-wc-cart.php:622

Used by 2 functions | Uses 1 function

WC_Cart::empty_cart()

Method: Empties the cart and optionally the persistent cart too.

Source: includes/class-wc-cart.php:631

Used by 0 functions | Uses 0 functions

WC_Cart::get_cart_contents_count()

Method: Get number of items in the cart.

Source: includes/class-wc-cart.php:657

Used by 0 functions | Uses 1 function
« Previous 1 … 6 7 8 … 13 Next »
Proudly powered by WordPress