WooCommerce: VAT on grouped products
code update: add_action( ‘woocommerce_grouped_product_list_before_price’, ‘woocommerce_grouped_product_tax_on_single’, 10, 1, $child_product, $mode ); function woocommerce_grouped_product_tax_on_single( $child_product, $mode = null ) { //uncomment next line and choose one of the output options from »switch case “{OPTION}”« //$mode=”tax-name-rate-amount”; $_taxobj = new WC_Tax(); $obj = $_taxobj->get_shop_base_rate($child_product->get_tax_class()); $i_or_e = get_option(‘woocommerce_prices_include_tax’) == ‘no’ ? ‘excl.’ : ‘incl.’; ?> <td class=”grp_tax”> <?php foreach ( … Read more