Display minimum price | WordPress.org

Hi,
Thank you for reaching out.

Are you trying to show the least price ?
Using our plugin it is only possible to show least price for variable products which have discount.

Have you tried the below snippet ?
https://gist.github.com/AshlinRejo/0558be8cc36d3106a45fcf2c273735f1

You can add it via code snippets plugin.
Here is a guide which might be of helpful: 
https://docs.flycart.org/en/articles/2404915-using-code-snippets-plugin

Can you have a check and let us know if that helps ?

Thanks
Team Flycart

Hi, thank you the code provided didn’t work.

But with a small change, I got it to work.

add_filter( ‘woocommerce_variable_price_html’, ‘bbloomer_variation_price_format_min’, 4, 100 );
add_filter(‘advanced_woo_discount_rules_format_sale_price_range’, function($html, $min_price, $max_price){
$html = wc_price($min_price);
return $html;
}, 10, 3);

Thank you for being so helpful this above code works for me

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer