Created
September 8, 2020 07:23
-
-
Save Balakrishnan-flycart/2b4d8de67965e985bcf1d54d1ab59468 to your computer and use it in GitHub Desktop.
woo discount rules v2 - modify product price
This file contains hidden or 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
| function modify_product_price($html, $original_price, $discounted_price){ | |
| $html .= ' + shipping from $9.50'; | |
| return $html; | |
| } | |
| add_filter( 'advanced_woo_discount_rules_strikeout_price_html', 'modify_product_price', 10, 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment