Created
December 14, 2018 07:58
-
-
Save AshlinRejo/f655d288e88344562eee5744f0d51517 to your computer and use it in GitHub Desktop.
Woo Discount - cart rules: Handing loading issue in cart while having Subscription plugin
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
if(!function_exists('woo_discount_rules_trigger_applied_coupon_before_load_cart_method')){ | |
function woo_discount_rules_trigger_applied_coupon_before_load_cart_method($load_before_cart){ | |
return true; | |
} | |
} | |
add_filter('woo_discount_rules_trigger_applied_coupon_before_load_cart', 'woo_discount_rules_trigger_applied_coupon_before_load_cart_method', 10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment