Created
October 28, 2016 11:58
-
-
Save bmakowski/46f105d04c8db90722342f52531da9be to your computer and use it in GitHub Desktop.
WooCommerce Remove Shipping Tax from Order Total
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function action_woocommerce_calculate_totals( ) { | |
global $woocommerce; | |
$woocommerce->cart->shipping_tax_total = 0; | |
}; | |
add_action( 'woocommerce_calculate_totals', 'action_woocommerce_calculate_totals', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment