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::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::get_coupons_from_cart()

Method: Return array of coupon objects from the cart. Normalises data into the same format for use by this class.

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

Used by 1 function | Uses 0 functions

WC_Cart_Totals::sort_coupons_callback()

Method: Sort coupons so discounts apply consistently across installs.

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

Used by 0 functions | Uses 0 functions

WC_Cart_Totals::remove_item_base_taxes()

Method: Ran to remove all base taxes from an item. Used when prices include tax, and the customer is tax exempt.

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

Used by 1 function | Uses 4 functions

WC_Cart_Totals::adjust_non_base_location_price()

Method: Only ran if woocommerce_adjust_non_base_location_prices is true.

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

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