Purchase History Based Discount
Learn how to create discounts based on the customer's purchase history
Sangeetha avatar
Written by Sangeetha
Updated over a week ago

This feature is available only in PRO version of Woo Discount Rules.

Many store owners, like to encourage their customers by providing discounts based on their previous purchase. So this makes the User to avail benefits which in turns increases number of orders and thus results in productivity :)

Pre-requisites / Requirements:

This is a special type of discount scenario, which only works under certain circumstances.

So carefully read the points below :

The scenario requires validating the below points:
- whether the visitor is a returning customer or a first time visitor
- And we need to check the purchase history to ensure he has orders placed previously
To establish the above facts, we need the visitor to either register and log in. (Example: Purchase history can be validated only for a registered/logged in user)

When a visitor comes to your site, there is ABSOLUTELY NO WAY of knowing whether he is

  • A first time visitor or

  • A returning customer

The ONLY way to establish and validate whether he is a first timer or a returning customer is "when he logs in"

Only when he is logged in, we can

  • retrieve his previous purchase history based on customer's Email ID or User ID

  • if there is a previous purchase, he is a returning customer

  • If there is no purchase, he is a new, first time customer

As a result, this discount scenario can only be run:

  1. When customer logs in

  2. Only at the checkout

As a result, the scenario will show the discount only after the customer logs in. Not before that because we may know who the visitor is (a returning customer or a first timer)

Here is how the discount works:

This purchased history based discount is given in accordance with the value/products that customer has purchased previously.
There are seven conditions you can choose from

  • First order

  • Last order amount

  • Last order

  • Number of orders made with the following products

  • Number of orders made

  • Number of quantities made with the following products

  • Total spent

Another Feature in providing this condition is that you can associate any Quantity based price rules on Purchase History basis.

Let's see on how to create a price rule:
Go to WooCommerce -> Woo Discount Rules -> Price based rules -> Add rule

Example 1: 30% discount on the cart total using the coupon code "FIRSTORDER"

To learn more about first order discount

Example 2: Providing 5% off on all products if the previous order amount is greater than $100.

You can also choose the order status in the rule condition.

Example 3: Providing a free product for customers who have made an order with in the current week.

So, the free product will be auto added in the current purchase for customers who have placed any order within the past 7 days whose order status is completed.

Example 4: Provide 50% off on a specific product if the customer have already purchased the product with in the month.

50% off will be applied on the pen in the current purchase if the customer have already purchased the same product within 30 days whose order status is processing and completed.

Example 5: 20% off will be applied on all products if the customer have made 3 orders within 7 days.

To learn more about discounts based on previous orders

Example 6: Provide 50% off on a specific product if the customer have already purchased 5 quantities of the same product

So, the 50% off will be applied on the current purchase for the customers who have bought 5 of the same product in their previous orders (include all orders).

Note:

Number of orders made with the following products - Here the count will be based on orders made with the respective product.

Number of quantities made with the following products - Here the count will be based on the quantities made with the respective product.

Example 7: Provide 10% discount on specific category if their previous purchase amount is greater than $1000.

Also, to learn more total spent based discounts

Note: The only way to know whether he is first time customer/ returning customer -> to check order count, we use EMAIL ID or customer's USER ID as a unique identifier. If a customer placed 5 orders using the same email address, then customers "Number of Order made count is -> 5 for example.

Still unclear ?
Please submit a support request. We are always happy to assist you :)

Did this answer your question?