Dev Resources

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

WC_Cart_Totals::set_total()

Method: Set a single total.

Source: includes/class-wc-cart-totals.php:544

Used by 6 functions | Uses 0 functions

WC_Cart_Totals::get_totals()

Method: Get all totals with or without precision (in cents).

Source: includes/class-wc-cart-totals.php:555

Used by 1 function | Uses 1 function

WC_Cart_Totals::get_items_from_cart()

Method: Handles a cart or order object passed in for calculation. Normalises data into the same format for use by this class.

Source: includes/class-wc-cart-totals.php:218

Used by 1 function | Uses 4 functions

WC_Cart_Totals::get_tax_class_costs()

Method: Get item costs grouped by tax class.

Source: includes/class-wc-cart-totals.php:242

Used by 1 function | Uses 0 functions

WC_Cart_Totals::get_fees_from_cart()

Method: Get fee objects from the cart. Normalises data into the same format for use by this class.

Source: includes/class-wc-cart-totals.php:270

Used by 1 function | Uses 9 functions

WC_Cart_Totals::get_shipping_from_cart()

Method: Get shipping methods from the cart and normalise.

Source: includes/class-wc-cart-totals.php:332

Used by 1 function | Uses 2 functions

WC_Cart_Totals

Class: WC_Cart_Totals class.

Source: includes/class-wc-cart-totals.php:27

Used by 0 functions | Uses 0 functions

WC_Cart_Totals::__construct()

Method: Sets up the items provided, and calculate totals.

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

Used by 1 function | Uses 2 functions

WC_Cart_Totals::calculate()

Method: Run all calculation methods on the given items in sequence.

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

Used by 1 function | Uses 4 functions

WC_Cart_Totals::get_default_item_props()

Method: Get default blank set of props used per item.

Source: includes/class-wc-cart-totals.php:155

Used by 1 function | Uses 0 functions
« Previous 1 2 3 4 Next »
Proudly powered by WordPress