Dev Resources

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

WC_Cart_Totals::calculate_item_subtotals()

Method: Subtotals are costs before discounts.

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

Used by 1 function | Uses 9 functions

WC_Cart_Totals::calculate_discounts()

Method: Calculate COUPON based discounts which change item prices.

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

Used by 1 function | Uses 7 functions

WC_Cart_Totals::calculate_fee_totals()

Method: Triggers the cart fees API, grabs the list of fees, and calculates taxes.

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

Used by 1 function | Uses 4 functions

WC_Cart_Totals::calculate_shipping_totals()

Method: Calculate any shipping taxes.

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

Used by 1 function | Uses 5 functions

WC_Cart_Totals::calculate_totals()

Method: Main cart totals.

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

Used by 1 function | Uses 5 functions

WC_Cart_Totals::get_values_for_total()

Method: Returns array of values for totals calculation.

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

Used by 2 functions | Uses 0 functions

WC_Cart_Totals::get_merged_taxes()

Method: Get taxes merged by type.

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

Used by 2 functions | Uses 1 function

WC_Cart_Totals::round_merged_taxes()

Method: Round merged taxes.

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

Used by 0 functions | Uses 0 functions

WC_Cart_Totals::combine_item_taxes()

Method: Combine item taxes into a single array, preserving keys.

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

Used by 2 functions | Uses 0 functions

WC_Cart_Totals::calculate_item_totals()

Method: Calculate item totals.

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

Used by 1 function | Uses 13 functions
1 2 … 4 Next »
Proudly powered by WordPress