woocommerce get_price of variation code example
Example: woocommerce get variation price range
<?php
global $post;
// Get the WC_Product_Variable instance Object
$product = wc_get_product( $post->ID ); // Works for any product type
// Displaying the formatted "Min" - "Max" price range
echo $product->get_price_html();
?>