Dev Resources

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

WC_Cart::get_customer()

Method: Get cart’s owner.

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

Used by 3 functions | Uses 1 function

WC_Cart::calculate_totals()

Method: Calculate totals for the items in the cart.

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

Used by 1 function | Uses 3 functions

WC_Cart::needs_payment()

Method: Looks at the totals to see if payment is actually required.

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

Used by 0 functions | Uses 2 functions

WC_Cart::calculate_shipping()

Method: Uses the shipping class to calculate shipping then gets the totals when its finished.

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

Used by 0 functions | Uses 7 functions

WC_Cart::get_chosen_shipping_methods()

Method: Given a set of packages with rates, get the chosen ones only.

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

Used by 1 function | Uses 1 function

WC_Cart::filter_items_needing_shipping()

Method: Filter items needing shipping callback.

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

Used by 0 functions | Uses 0 functions

woocommerce_cart_product_cannot_be_purchased_message

Filter Hook: Filters message about product unable to be purchased.

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

Used by 1 function | Uses 0 functions

WC_Cart::remove_cart_item()

Method: Remove a cart item.

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

Used by 1 function | Uses 0 functions

WC_Cart::restore_cart_item()

Method: Restore a cart item.

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

Used by 0 functions | Uses 1 function

WC_Cart::set_quantity()

Method: Set the quantity for an item in the cart using it’s key.

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

Used by 2 functions | Uses 4 functions
« Previous 1 … 4 5 6 … 13 Next »
Proudly powered by WordPress