# Display minimum price or maximum

```php
add_filter('advanced_woo_discount_rules_strikeout_price_html', function($html, $original_price, $discounted_price, $is_variable_product){
    if($is_variable_product){
        return "From: " .str_replace("<br>", '&nbsp;', $html);
    } else {
        return $html;
    }
}, 10, 4);
add_filter('advanced_woo_discount_rules_format_sale_price_range', function($html, $min_price, $max_price, $original_html){
    if($min_price==0){
        return wc_price($max_price);
    }
    return wc_price($min_price);
}, 10, 4);
```
