Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sarancartrabbit/82ac34ce21b794819f9c232469f9e0c5 to your computer and use it in GitHub Desktop.
Save sarancartrabbit/82ac34ce21b794819f9c232469f9e0c5 to your computer and use it in GitHub Desktop.
Discount rules v2: Disable auto add after update an cart item manually for BXGX
add_filter('advanced_woo_discount_rules_calculate_discount_for_cart_item', '__return_false');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment