Loyalty Discount

How to detect coupon abuse by loyal customers in WooCommerce

Flag heavily discounted items bought by product or category loyal customers

Catches orders where a customer with proven product or category loyalty is buying a discounted item - useful for spotting coupon abuse on items the customer would likely buy at full price.

Review warning
The problem

When a loyal customer uses a heavy discount on a product or category they already buy regularly, it may indicate coupon abuse or a pricing issue. Without visibility, these patterns go unnoticed.

The solution

OrderBadger can combine item discount percentage with product or category purchase history using OR logic.

Who this is for

Stores running frequent promotions where discount abuse is a concern, especially those with strong repeat purchase patterns.

At a glance
Item discount threshold: over 25 percent OR logic: product loyalty or category loyalty Category loyalty: 3 or more purchases Inbox with Legitimate and Flag actions Badge: Loyalty Discount (yellow)
People also search for
WooCommerce loyal customer using discount code on regular product How to spot coupon abuse from repeat buyers in WooCommerce Flag discounted orders from customers who buy the same category WooCommerce rule to catch discount misuse by loyal shoppers Detect heavy discounts on products a customer already buys regularly

How it works

Flags orders where a line item is discounted by more than 25% AND the customer has either bought that exact product before OR purchased from its category at least 3 times. The OR means either loyalty signal is sufficient.

Review whether the discount was intentional for this customer segment. Consider whether loyal customers should be excluded from certain promotions.

Rule template

Plain English rule At least one item has been discounted by more than 25%, and the customer has either previously bought that exact product before or has purchased from that product's category at least 3 times

Write this (or something similar) in the OrderBadger rule builder. The AI compiler turns it into executable logic automatically.

Make it yours

Adjust thresholds
  • Try lowering 'more than 25%' to 'more than 15%' to catch moderate discounts that still represent meaningful savings for loyal buyers.
  • Raise 'at least 3 times' to 'at least 5 times' if you only want to flag deep-loyalty customers and reduce noise from casual repeat buyers.
Add or remove conditions
  • Add 'and order total is over £100' to focus on higher-value orders where coupon abuse has a bigger margin impact. … has purchased from that product's category at least 3 times and order total is over £100
  • Add 'and the customer is not a guest' explicitly if you want to be certain guest checkouts are excluded, even though they already lack purchase history. … has purchased from that product's category at least 3 times and the customer is not a guest

Badge preview

Default: Loyalty Discount
Passed: Loyalty Discount
Failed: Loyalty Discount

This badge appears in the WooCommerce order view with action buttons. Your team can respond directly from the badge pill.

When this rule matches

Discounted Repeat Product
Guest: no
Item is 30% off and customer has bought this exact product twice before - product loyalty path.
Discounted Category Loyalist
Guest: no
Item is 40% off and customer has purchased from this category 5 times - category loyalty path, even though first time buying this specific product.

When this rule does not match

Discounted No Loyalty
Guest: no
Item is 30% off but customer has never bought this product (prev=0) and only 1 category purchase - no loyalty signal.
Loyal Customer Small Discount
Guest: no
Customer is a product loyalist (5 purchases, 10 category) but discount is only 10% - below 25% threshold.
Guest Checkout
Guest: yes
Guest checkout has null purchase history and cannot satisfy the loyalty condition.

Workflow

This rule includes workflow features that help your team act on flagged orders.

Inbox
Yes
Interaction
Legitimate / Flag

Good to know

  • Guest checkouts are excluded.
  • The discount threshold (25%) and category count (3) are fixed in the rule text.
  • Both conditions (discount + loyalty) must apply to the same line item.

Frequently asked questions

  • Does the customer need both product loyalty and category loyalty to trigger this?
    No. The rule uses OR logic - either having bought the exact product before OR having 3+ purchases in the same category is sufficient, as long as the item is also discounted by more than 25%. Both the loyalty and discount thresholds can be adjusted in the rule text.
  • What if the order has multiple items but only one meets both conditions?
    One qualifying item is enough. The rule checks each line item independently and fires if any single item satisfies both the discount threshold and a loyalty signal.
  • How many category purchases count as category loyalty for this rule?
    Three or more purchases in the same category by default, but this is easily changed to suit your requirements. Three is a lower bar than the experienced-category-buyer rule (which requires 5) because it is combined with a heavy discount signal, making even moderate loyalty noteworthy.
  • What do the Legitimate and Flag interaction buttons mean?
    Mark the order as 'Legitimate' if the loyal customer's discount is intentional and acceptable. Use 'Flag' if you suspect coupon abuse or want to escalate the order for further review.

Related rules

Try this rule in your store

OrderBadger is free on WordPress.org. Install it and create this rule in minutes - no code required.

Install OrderBadger Free