Dev Resources

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

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_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::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::get_discounted_price_in_cents()

Method: Get discounted price of an item with precision (in cents).

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

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