Ezhance
← Documentation

Purchase History Conditions

Control eligibility based on a customer's past orders — order count, total spend, last purchase date, and previously bought products. Requires Ezhance Pro.

Purchase History Conditions evaluate what a customer has previously ordered to determine promotion eligibility. They're ideal for first-time customer incentives, loyalty rewards, win-back campaigns, and cross-sell promotions. Requires Ezhance Pro.

Available Conditions

Has Ordered Before

A simple Yes/No check: has this customer completed at least one previous order?

  • No (first-time customer) — Reward new customers
  • Yes (returning customer) — Reward repeat customers

Order Count

Evaluates the total number of completed orders. Use operators: Greater Than, Less Than, Equal To, Between.

Use cases: Loyalty tier rewards ("5+ orders → 15% off"), VIP threshold promotions.

Total Spend

Evaluates the customer's lifetime spend across all completed orders.

Use cases: High-value customer programs ("spent $500+ lifetime → exclusive discount"), milestone rewards.

Last Order Date

Evaluates when the customer's most recent order was placed. Supports: Is Before, Is After, Is On, Is Within Last, Is More Than, Is Not Within Last.

Use cases: Win-back campaigns for customers who haven't ordered in 60+ days; reactivation offers for lapsed customers.

Purchased Products

Checks whether specific products appear in the customer's order history.

Use cases: Cross-sell promotions ("bought Product A → 20% off Product B"), upgrade incentives ("bought starter plan → discount on premium plan").

Purchased Categories

Checks whether the customer has previously purchased products from specific categories.

Use cases: Category-based repeat purchase rewards, department loyalty programs.

Common Use Cases

  • First-time customer — Has Ordered Before = No → 10% off
  • Loyalty tier — Order Count ≥ 10 → 20% off
  • High-value customer — Total Spend ≥ $1,000 → exclusive VIP discount
  • Win-back — Last Order Date more than 60 days ago → "We miss you" offer
  • Cross-sell — Purchased Product = Camera → 25% off camera accessories

Important Limitation: Guest Customers

Guest customers may not have a consistent purchase history tied to their account. Purchase History Conditions are most reliable for registered, logged-in customers. Use the Guest Customer condition alongside purchase history rules to handle guest scenarios separately.

Best Practices

  • Start with simple conditions like "Has Ordered Before" before building complex multi-condition rules.
  • Reward loyalty incrementally — use Order Count milestones to unlock progressively better discounts.
  • Use Last Order Date for re-engagement — target customers who haven't bought in 30, 60, or 90 days with a tailored offer.