I need to show a list of simple and variable products with their prices displayed as "From $XX". But I've seen some methods like below.
$min_price = $product->get_variation_price( 'min', true ); //I guess this only works for variable products
$min_price = $product->get_price_html(); //Will this guarantee to show the priceof the cheapest variation in a variable product?
$min_price = $product->get_price(); //How about this?
So, which is the best way to ensure I always get the lowest price for products regardless of them being simple or variable.