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
/** This code should be added to functions.php of your theme **/ | |
/* Woocommerce - Show min price including Tax for variations rather than Min/Max Prices */ | |
add_filter('woocommerce_variable_price_html', 'custom_variation_price', 10, 2); | |
function custom_variation_price( $price, $product ) { | |
$price = ''; | |
$price .= woocommerce_price($product->get_price_including_tax()); | |