public function get_price_html($price = '')
{
$prices = $this->get_variation_prices_including_taxes();
if (empty($prices['price'])) {
return apply_filters('woocommerce_variable_empty_price_html', '', $this);
}
$min_price = current($prices['price']);
$max_price = end($prices['price']);
if ($min_price !== $max_price) {
$price = apply_filters('woocommerce_variable_price_html', wc_format_price_range($min_price, $max_price) . wc_get_price_suffix($this), $this);
} else {
$price = apply_filters('woocommerce_variable_price_html', wc_price($min_price) . wc_get_price_suffix($this), $this);
}
return apply_filters('woocommerce_get_price_html', $price, $this);
}