Home/Insights/Offers & promotions

WooCommerce coupon rules that protect your margin

MNBy Madlin Nabil, Senior WordPress Developer & MarTech Specialist··2 min read

Coupons are one of the fastest ways to bring sales, and one of the fastest ways to lose margin. The difference is in the rules behind them. Here is how I set up WooCommerce coupons so a campaign does what marketing intended, and nothing more.

In short
  • Every coupon needs an end date, a usage limit and clear product rules.
  • Decide in advance how coupons combine with sale prices and bundles.
  • Exclude products or brands with thin margins, or brands that don’t allow discounts.
  • Track coupon usage per campaign.

The settings that matter in WooCommerce

  • Expiry date: always set one. Old coupons shared on coupon websites keep working for years otherwise.
  • Usage limit per coupon and per user: one use per customer for welcome coupons.
  • Minimum spend: protects the margin on small orders.
  • Exclude sale items: stops discounts on top of discounts.
  • Product and category restrictions: include or exclude exactly what the campaign covers.
  • Individual use only: prevents combining several coupons in one order.

When the built-in rules aren’t enough

Sometimes the business needs a rule WooCommerce doesn’t have. On one store, for one month, coupons had to be blocked on specific SKUs and on whole brands, no matter which coupon the customer used. I built that as a small piece of code with the end date written into it, so it switched itself off at the end of the month and nobody had to remember to remove it.

Bundles need the same care. I built a plugin so products inside a bundle use their regular price, and only the bundle discount applies, so a bundle price and a coupon couldn’t stack by accident. More in bundle pricing.

Useful coupon types for e-commerce

  1. Welcome coupon sent automatically on first registration, one use per customer.
  2. Cart recovery coupon, single-use, only in the last recovery email (see cart abandonment recovery).
  3. Partner or influencer codes, one code per partner, so you can measure who brings sales.
  4. Members or VIP coupons, limited to logged-in customers or a customer list.

Measure every campaign

  • Orders and revenue per coupon code (WooCommerce Analytics → Coupons).
  • Average order value with and without the coupon.
  • New versus returning customers using it.

Checklist before launching a coupon

  1. End date set.
  2. Usage limits set.
  3. Excluded products and brands checked.
  4. Tested in the cart with a sale item, a bundle and a second coupon.
  5. Code name easy to type on a phone.

FAQ

Can WooCommerce block coupons on specific brands?

If brands are a product attribute or taxonomy, you can exclude their categories or products in the coupon. For rules across all coupons, a small custom snippet or plugin is more reliable.

Should coupons apply to sale items?

Usually not. Use “Exclude sale items” unless the campaign is planned with the double discount in mind.

How do I stop coupon codes leaking to coupon websites?

Use single-use or per-customer codes, short expiry dates, and unique codes per partner.

Related insights

See all 23 articles →

Need this for your store?

I build and fix WordPress and WooCommerce sites with marketing in mind: tracking, speed, checkout and integrations.