WC_Cart_Totals::calculate_totals()
Method: Main cart totals.
Source: includes/class-wc-cart-totals.php:864
Method: Main cart totals.
Source: includes/class-wc-cart-totals.php:864
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
Method: Get item costs grouped by tax class.
Source: includes/class-wc-cart-totals.php:242
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
Method: Get shipping methods from the cart and normalise.
Source: includes/class-wc-cart-totals.php:332
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
Method: Sort coupons so discounts apply consistently across installs.
Source: includes/class-wc-cart-totals.php:398
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
Method: Only ran if woocommerce_adjust_non_base_location_prices is true.
Source: includes/class-wc-cart-totals.php:452
Method: Get discounted price of an item with precision (in cents).
Source: includes/class-wc-cart-totals.php:475