Skip to content

Instantly share code, notes, and snippets.

@rameshelamathi
Created April 25, 2020 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rameshelamathi/1e51740f6a13a05563deab10216c4c62 to your computer and use it in GitHub Desktop.
Save rameshelamathi/1e51740f6a13a05563deab10216c4c62 to your computer and use it in GitHub Desktop.
Smart coupons compatibility for Woo Discount Rules
add_filter('woo_discount_rules_remove_event_woocommerce_before_calculate_totals', '__return_true');
add_filter('woo_discount_rules_apply_rules_repeatedly', '__return_true');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment