Remove br tag while doing strikeout for variable products and style
Remove br tag while doing strikeout for variable products and style
add_filter('advanced_woo_discount_rules_strikeout_price_html', function($html){
$html = str_replace("<br>", ' ', $html);
return $html;
}, 10);
add_action( 'wp_head', function () { ?>
<style>
.grid-style-3 .price del {
display: inline-block;
}
</style>
<?php } );