How can I add another row to the total field in WooCoommerce cart, checkout and recipe mail?
Its too late but it can still help to others who are looking for the same : Copy “plugins\woocommerce\templates\cart\cart-totals.php” to “your-theme\woocommerce\templates\cart\cart-totals.php” Open “your-theme\woocommerce\templates\cart\cart-totals.php” and add the following line inside the table tag <?php do_action( ‘woocommerce_cart_totals_custom_text’ ); ?> Then open your function.php and add the following: add_action( ‘woocommerce_cart_totals_custom_text’, ‘action_woocommerce_cart_totals_before_shipping’, 10, 0 ); function action_woocommerce_cart_totals_before_shipping( ) { … Read more