The woocommerce_adjust_non_base_location_prices filter can stop base taxes being taken off when dealing with out of base locations. e.g. If a product costs 10 including tax, all users will pay 10 regardless of location and taxes. This feature is experimental @since 2.4.7 and may change in the future. Use at your risk.
- WC_Cart_Totals::calculate_item_subtotals() – Subtotals are costs before discounts.
- WC_Cart_Totals::remove_item_base_taxes() – Ran to remove all base taxes from an item. Used when prices include tax, and the customer is tax exempt.
- wc_get_price_excluding_tax() – For a given product, and optionally price/qty, work out the price with tax excluded, based on store settings.
- wc_get_price_including_tax() – For a given product, and optionally price/qty, work out the price with tax included, based on store settings.