Created
July 28, 2021 09:40
-
-
Save Balakrishnan-flycart/62138bcc8f192e978016153c1be4b50c to your computer and use it in GitHub Desktop.
Woo Discount Rules v2 - Disable coupon discount rules will work (Translation conflict resolve)
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_notice_on_remove_coupon_while_having_a_discount', function( $msg, $coupon_code){ | |
return sprintf(__('Sorry, it is not possible to apply coupon "%s" as you already have a discount applied in cart.', 'woo-discount-rules'), $coupon_code); | |
},10, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment