title: Replace variable products price range with "From:" + lowest price in WooCommerce
body: <p>In WooCommerce when a Variable product has variations with different prices it displays a price range with 2 amounts: For example 89.00 - 109.00. </p>
  
  <p>I'd like to change it, displaying only "From: " and the lowest price like for example <code>From: 89.00</code> (removing the Max price). <br>
  <em>("Fra: " means from in my language, just to clarify).</em></p>
  
  <p>Here is the code that I have tried:</p>
  
  <pre><code>// Main Price
  $prices = array( $product-&gt;get_variation_price( 'min', true ), $product-&gt;get_variation_price( 'max', true ) );
  $price = $prices[0] !== $prices[1] ? sprintf( __( 'Fra: %1$s', 'woocommerce' ), wc_price( $prices[0] ) ) : wc_price( $prices[0] );
  
  // Sale Price
  $prices = array( $product-&gt;get_variation_regular_price( 'min', true ), $product-&gt;get_variation_regular_price( 'max', true ) );
  sort( $prices );
  $saleprice = $prices[0] !== $prices[1] ? sprintf( __( 'Fra: %1$s', 'woocommerce' ), wc_price( $prices[0] ) ) : wc_price( $prices[0] );
  
  if ( $price !== $saleprice ) {
  $price = '&lt;del&gt;' . $saleprice . $product-&gt;get_price_suffix() . '&lt;/del&gt; &lt;ins&gt;' . $price . $product-&gt;get_price_suffix() . '&lt;/ins&gt;';
  }
  return $price;
  }
  </code></pre>
  
  <p>This code doesn't work. Whenever I add it nothing happens.</p>
  
  <p>What do I need to change, to get "From: " + the Min price instead?</p>