# Add content before strikeout only for variable product

```php
if(!function_exists('woo_discount_rules_price_strikeout_after_discount_price_method')){
    function woo_discount_rules_price_strikeout_after_discount_price_method($item_price, $product){
        if($product->is_type( 'variable' )) {
            $item_price = 'From: '.$item_price;
            $item_price = str_replace('</del> <ins>', '</del> From:<ins>', $item_price);
        }
        return $item_price;
    }
}

add_filter('woo_discount_rules_price_strikeout_after_discount_price', 'woo_discount_rules_price_strikeout_after_discount_price_method', 10, 2);
```
