I’m bulding a store on woocommerce and I have variable products and every variation has its unique prices. What i’m trying to do is always show the lowest price, even if no option is selected. And this price should change when the options are selected later (like the one in the bottom after the options, but always displayed).
It’s not important if it’s show after or before the options.
I try to use this:
add_filter( 'woocommerce_show_variation_price', '__return_true' );
But It’s not working in the latest version of woocommerce.
Thanks for your help.
2
Answers
To show the lowest price use below:
Please use below function: