Created
June 12, 2020 11:09
-
-
Save AshlinRejo/0558be8cc36d3106a45fcf2c273735f1 to your computer and use it in GitHub Desktop.
Discount Rules v2: Display only least price in product page strikeout for variable products
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('advanced_woo_discount_rules_format_sale_price_range', function($html, $min_price, $max_price){ | |
$html = wc_price($min_price); | |
return $html; | |
}, 10, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment