Conditional Discounts in WooCommerce: Rules, Examples and Setup

What is a conditional discount?

A conditional discount is a discount that applies only when one or more conditions are true: the cart is over a set value, it holds a certain product or quantity, the customer belongs to a group, they are in a certain country, or it is a certain date. When the conditions are met the discount appears in the cart; when they stop being met it disappears.

Blanket discounts give the same saving to everyone, including customers who would have paid full price. Conditional discounts aim the saving at the behaviour you want: a bigger cart, a second item, a first order, a returning customer. This guide lists the conditions WooCommerce stores use, how to combine them, examples and the setup steps.

The conditions you can use

Cart conditions

Customer conditions

Context conditions

Examples of conditional discounts

These are illustrations, not customer results.

Combining conditions with AND and OR

Most useful rules combine conditions. AND makes a rule narrower: cart over $75 AND customer signed in. OR makes it wider: product from Category A OR Category B. Write the rule in a sentence before you build it; if the sentence is hard to read, the rule is too complicated for customers to understand.

How conditional discounts show to customers

A condition the customer cannot see is a condition they cannot aim for. Say the condition on the product page and in the cart: “Add $12 more to save 10 percent” does more than a discount that only appears once the cart already qualifies. Show the saving as its own line in the cart.

How to set up conditional discounts in WooCommerce

  1. WooCommerce coupons can check minimum spend, products, categories and allowed emails, but only when the customer enters a code.
  2. For discounts that apply automatically, or that check user role, order history, location or date, add a discount rules plugin.
  3. Build one rule per goal, with a clear condition, a reward, dates and a maximum number of uses.
  4. Decide whether the rule combines with others, and set a lowest acceptable price so stacked rules cannot sell below cost.
  5. Test with carts just below and just above each condition, as a guest and signed in.

How to pick the value of a cart condition

Most conditional discounts start from cart value, and the number you choose decides whether the rule earns money or gives it away. Start from your own average order value: total revenue for the last 90 days divided by the number of orders in the same period. A threshold a little above that figure asks a typical customer to add one more item. A threshold below it discounts orders that were going to happen anyway.

A worked example, with made-up numbers: a store takes $36,000 from 600 orders in 90 days, so its average order value is $60. Its most common add-on product costs $14. A threshold of $75 sits one add-on above the average order, so a customer at $62 has a clear, reachable target. A threshold of $50 would give the discount to most existing orders, and a threshold of $120 would be out of reach for most customers.

Check the margin before you publish. If the discount is 10 percent at $75, the store gives away at least $7.50 on every qualifying order. That only pays if the extra items carry more margin than the discount costs. Run the same check for every condition that has a money value: minimum cart, minimum spend in a category, or past spend for a loyalty rule.

Priority, stacking and exclusions

Once a store runs more than one conditional discount, a single cart can meet several rules at once. Decide before launch what happens then:

Write these decisions down next to each rule. When a customer asks why a cart was priced a certain way, the answer should come from that note, not from guessing what the plugin did. Our guide to rule stacking and conflicts covers the common clashes in detail.

Worked example: a conditional rule set for one store

This is an illustration for a fictional apparel store, not a customer result. It shows how a few narrow rules cover different goals without overlapping:

  1. Bigger carts: 10 percent off orders over $75, all customers, no end date, excludes gift cards.
  2. Second item: buy any 2 T-shirts, get the cheaper one 50 percent off. Does not combine with rule 1 on the same items.
  3. First order: 15 percent off for signed-in customers with no previous order, one use per customer.
  4. Win-back: 10 percent off for customers whose last order was more than 120 days ago, valid for 14 days after the e-mail goes out.
  5. Wholesale: wholesale role gets 25 percent off, never combines with any retail rule.

Each rule has one job, one audience and a clear end. Rules 1 and 2 can both match a cart with two T-shirts worth $80, so the store has decided in advance that the customer gets the better of the two, not both.

How to tell whether a conditional discount works

Compare the same length of time before and after the rule starts, and look at four numbers: average order value, the share of orders that met the condition, revenue after discounts, and margin after discounts. A rule that raises average order value but lowers margin after discounts is costing money. If a rule matches almost every order, the condition is too easy; if it matches almost none, it is too hard or customers cannot see it.

Seasonal swings can hide or exaggerate the effect, so compare against the same weeks last year where you have them, and change one rule at a time.

Conditional discounts and the WooCommerce block cart

Newer WooCommerce stores use the block-based cart and checkout. Discounts must be applied on the server, through WooCommerce’s cart calculation, so they show correctly when customers change quantities in the block cart. A plugin that changes prices only with JavaScript in the browser, or that edits the cart page HTML, can show one total in the cart and another at checkout. When you test, change quantities in the cart and check that the discount line updates without a page reload.

Mistakes to avoid

GT BOGO Engine, which we make, runs conditional deals in the WooCommerce cart without coupon codes: cart total, quantity, products and categories, customer groups and past orders, location and schedules, with a margin floor. Read our guide to WooCommerce dynamic pricing for every rule type.

Frequently asked questions

Can WooCommerce apply a discount automatically based on cart total?

Not with core WooCommerce. Coupons can require a minimum spend but the customer must enter the code. Automatic cart total discounts need a plugin.

Can I give a discount to a specific user role in WooCommerce?

Yes, with a discount rules plugin that reads the customer role when they are signed in.

Should conditional discounts combine with coupons?

Decide per rule. Letting everything combine is the most common way stores sell below cost.

How do I choose the minimum cart value for a discount?

Start from your average order value over the last 90 days and set the threshold about one typical add-on item above it. Then check that the margin on the extra items covers the discount.

Can a customer get two conditional discounts on one order?

Only if you allow it. Most stores either let the customer have the better of two matching rules or set an order of priority so one rule stops the others.

Do conditional discounts work with the WooCommerce block cart?

Yes, if the plugin applies the discount through the WooCommerce cart calculation on the server. Test by changing quantities in the cart and checking the discount line updates.