Yes. Create a cart discount with two conditions: Last order earlier than 6 months, and Order count all time at least 1. Customers whose newest paid order is more than six months old get it; recent buyers and brand-new customers don't. Example: 15% off, so a returning customer's $80.00 cart gets $12.00 off.
How do I set it up?
- Go to WooCommerce > Pricepep > Cart Discounts and click Add Rule.
- Type a Title - Public, for example "Welcome back".
- Under Discount, choose Percentage discount and type
15. - Under Conditions, click Add Condition, choose Last order, earlier than and 6 months.
- Click Add Condition again, choose Order count, all time, at least and type
1. - Click Save Changes.
Who gets the discount?
| Customer | Newest paid order | Discount |
|---|---|---|
| Ordered 8 months ago | 8 months old | Yes, $12.00 off $80.00 |
| Ordered last month | 1 month old | No |
| Never ordered | none | No, thanks to the Order count condition |
Without step 5, customers with no paid order would get the discount too: earlier than also matches "no order at all".
What should I know?
- Periods: current day, week, month or year; 1 to 6 days; 1 to 4 weeks; 1 to 12 months; 2 to 10 years.
- Paid orders only: WooCommerce's paid statuses, Processing and Completed by default. The date is the order's own date, so imported orders count with the date they were placed.
- Guests are recognised by the billing email they type at checkout, in the classic checkout and the Checkout block; the discount appears for them from then on. Logged-in customers see it in the cart.
- Lower prices instead of a cart line: put the same two conditions on a product pricing rule.
- Tell customers: the rule applies by itself, so announce it, for example by email; in the classic cart, Customer Notifications can show a notice when it applies.
More order history ideas are in the loyalty discount example and customer conditions.
Frequently asked questions
Why do new customers get my win-back discount?
Last order earlier than also matches customers without a paid order. Add Order count, all time, at least 1 to the same rule.
Can I use one year?
Choose 12 months. The year options start at 2 years.
Which order is the last order?
The customer's newest paid order (Processing or Completed by default). Pending, failed and cancelled orders don't count.