title: Custom formatted min price including tax for specific WooCommerce Variable Product
body: <p>I'm trying to change the price for a specific product so that it shows the price with VAT (as opposed to other products where the price is shown without VAT)</p>
  <p>I have managed to get this to work with the variable products themselves, by using the following code from <a href="https://tomjesch.com/display-woocommerce-products-with-and-without-tax/" rel="nofollow noreferrer">https://tomjesch.com/display-woocommerce-products-with-and-without-tax/</a></p>
  <pre><code>function edit_selected_variation_price( $data, $product, $variation ) {
      if(is_singular('product') &amp;&amp; $product-&gt;get_id() == 68719 ) {
      $price = $variation-&gt;price;
      $price_incl_tax = $price + round($price * ( 20 / 100 ), 2);  
      $price_incl_tax = number_format($price_incl_tax, 2, &quot;,&quot;, &quot;.&quot;);
      $price = number_format($price, 2, &quot;,&quot;, &quot;.&quot;);
          $display_price = '&lt;span class=&quot;price&quot;&gt;';
          $display_price .= '&lt;span class=&quot;amount&quot;&gt;£ ' . $price_incl_tax .'&lt;small class=&quot;woocommerce-price-suffix&quot;&gt; incl VAT&lt;/small&gt;&lt;/span&gt;';
          $display_price .= '&lt;/span&gt;';
      $data['price_html'] = $display_price;
      }
      return $data;
  }
  add_filter( 'woocommerce_available_variation', 'edit_selected_variation_price', 10, 3);
  </code></pre>
  <p>This works when an option is chosen. However, before an option is chosen, there is a price that says FROM: £xxx which I now also want to change to say &quot;FROM: £xxx inc VAT&quot;</p>
  <p>However, I can't seem to do anything to change it. So I have added the following to setup the html for the price:</p>
  <pre><code>function cw_change_product_html( $price_html, $product ) {
   if ( $product-&gt;get_id() == 68719 ) {
       $price_incl_tax = $product-&gt;price + round($price * ( 20 / 100 ), 2);  
      $price_incl_tax = number_format($price_incl_tax, 2, &quot;,&quot;, &quot;.&quot;);
   $price_html = '&lt;span class=&quot;amount&quot;&gt;From ' . $price_incl_tax . 'incl VAT&lt;/span&gt;';
   }
   echo $price_html;
  }
  </code></pre>
  <p>And then I tried using these three different hooks.</p>
  <pre><code>add_filter( 'woocommerce_get_price_html_from_to', 'cw_change_product_html', 10, 2 );
  add_filter( 'woocommerce_get_price_html', 'cw_change_product_html', 10, 2 );
  add_filter('woocommerce_variable_price_html', 'cw_change_product_html', 10, 2);
  </code></pre>
  <p>Only the second one seems to trigger the code but then it outputs all of the prices for all the different variants.</p>
  <p>Do I need to use a different hook or is there a way I can run the above code once?</p>