What Are WooCommerce Discount Rules?
Discount rules in WooCommerce are automatic promotional discounts that apply based on configured conditions — without requiring a coupon code. Unlike WooCommerce's built-in coupons, discount rules can:
- Apply automatically when a customer's cart matches the rule conditions
- Display on product pages before the customer adds to cart
- Support quantity-based tiered pricing
- Configure Buy X Get X and Buy X Get Y reward structures
- Apply cart-level discounts when a subtotal threshold is reached
WooCommerce doesn't include a discount rule engine by default. You add one with a plugin like Ezhance.
Step 1: Install Ezhance
Install Ezhance Free from WordPress.org. In your WordPress admin, go to Plugins → Add New → search "ezhance" → Install Now → Activate. After activation, an "Ezhance" menu item appears in the WordPress admin sidebar.
Step 2: Choose Your Promotion Type
In Ezhance, each promotion has a type. The type determines how the discount is structured:
- Simple Discount — flat percentage or fixed amount off specific products
- Bulk Discount — quantity-based tiered pricing for a product
- Buy X Get X — customer buys a quantity of a product and receives additional units at a discount
- Buy X Get Y — customer buys Product A and receives Product B at a discount
- Cart Discount (Pro) — percentage or fixed off the entire cart when it meets a subtotal or item count threshold
- Order Reward (Pro) — a next-order coupon generated automatically after a qualifying order
Choose the type that matches your campaign goal before creating the promotion.
Step 3: Configure Targets (Which Products)
After selecting the promotion type, configure the Target Selection — which products are part of the promotion.
In Ezhance Free, you can target specific products and product variations using inclusion and exclusion rules. Exclusion rules always win over inclusion rules — a product explicitly excluded will not receive the promotion even if it matches an inclusion rule.
With Ezhance Pro, you can also target by product category, product tag, product attribute, margin range, and stock range.
Step 4: Configure Eligibility Conditions (Who Qualifies)
Eligibility conditions control which cart states or customers qualify for the promotion. This is separate from targeting (which controls which products). A promotion can target specific products but only apply if the cart subtotal is above $50.
Ezhance Free includes cart subtotal and cart line item count conditions. Ezhance Pro adds customer role, email, purchase history, address, and date/time conditions.
Step 5: Configure Display Settings
Ezhance includes display components that appear on product pages and in the cart. For most promotion types, you should:
- Set a promotion title and description (visible in the Offer Card on the product page)
- Enable the relevant display component (Offer Card for simple/bulk, Reward Card for BOGO, Progress Bar for cart discounts)
Promotions that don't display on the product page depend on customers discovering the offer at checkout — which significantly reduces the behaviour-change impact of the promotion.
Step 6: Review the Offer Safety Score
Before publishing, review the Offer Safety Score shown in the promotion editor. The score evaluates six dimensions — margin safety, stacking protection, purchase threshold, abuse control, offer clarity, and data confidence. A score below 50 indicates significant unaddressed risk.
Common fixes for a low score:
- Store gross margin on targeted products (improves Margin Safety)
- Configure stacking controls in Discount Strategy settings (improves Stacking Protection)
- Add a minimum quantity or cart value condition (improves Purchase Threshold)
- Add customer targeting conditions (improves Abuse Control)
- Add a promotion title and description (improves Offer Clarity)
Step 7: Publish and Monitor
Set the promotion to Active and configure a start date (and end date if it's a time-limited campaign). After the promotion has been running for 1–2 weeks, check the analytics in the Ezhance dashboard to see how many orders included the promotion and the total discount amount given.
Compare average order value during the promotion period to your baseline to evaluate whether the discount rules changed customer behaviour.