title: Set a min unit displayed price for simple products too in Woocommerce
body: <p>In Woocommerce I would like to show a minimum price for a simple product and variable products in front of the catalog. </p>
  
  <p>Based on <em>"<a href="https://stackoverflow.com/questions/50909918/set-a-min-unit-displayed-price-for-variable-products-in-woocommerce/50911141#50911141">Set a min unit displayed price for variable products in Woocommerce</a>"</em> answer code, where I have made light changes to the last function as follow:</p>
  
  <pre><code>// Frontend: Display the min price with "From" prefix label for variable products
  add_filter( 'woocommerce_variable_price_html', 'custom_min_unit_variable_price_html', 30, 2 );
  function custom_min_unit_variable_price_html( $price, $product ) {
      $min_unit_price = get_post_meta( $product-&gt;get_id(), '_min_unit_price', true );
  
      if( $min_unit_price &gt; 0 ){
          $min_price_html = wc_price( wc_get_price_to_display( $product, array( 'price' =&gt; $min_unit_price ) ) );
          $price = sprintf( __( '%1$s &lt;span class="amount"&gt;&lt;div  style="font-size:11px;color: #666;text-align: center;"&gt;Bulk purchasing&lt;/div&gt;&lt;/span&gt;', 'woocommerce' ), $min_price_html );
      }
  
      return $price;
  }
  </code></pre>
  
  <p>I would like to adapt this solution to simple products as well. Any help is appreciated.</p>