Try using get_price()
instead of get_price_html()
. You can call the function on any woocommerce template like this
$product->get_price();
Try using get_price()
instead of get_price_html()
. You can call the function on any woocommerce template like this
$product->get_price();