else {
if($product->is_type( 'variable' )){
$min = 0;
$prices = $product->get_variation_prices();
foreach ($prices['price'] as $p) {
if($p != 0){
$min = $p;
break;
}
}
return $min.'₽ - '.$product->get_variation_price('max', true).'₽';
}
return $price_html;
}