Discount based on Number of Orders Made

Discover how to offer discounts using the Discount Rules for WooCommerce plugin, based on the number of orders a customer has made before.

Ramesh avatar
Written by Ramesh
Updated over a week ago

Introduction:

“Discount based on Number of Orders made" refers to providing discounts to customers based on the count of orders they've placed before.

For instance: Giving a 15% discount to customers who have made 5 or more orders previously.

This discount strategy, facilitated by the Discount Rules for WooCommerce plugin, is commonly used to recognize loyal customers and encourage them to continue making repeat orders.

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)

Example scenarios:

  • Get a 10% discount on all products in store if you've previously made 8 or more orders.

  • Enjoy 15% off from the cart when you've placed 5 orders or more.

  • For your 6th order, receive Free Shipping as a thank you.

To create discount rules with “Number of order made” condition, you need to have the Discount Rules PRO plugin installed and activated. You can purchase the PRO version by clicking on the provided button.

Now, let's take a closer look at each example in detail.

Example 1: Get a 10% discount on all products in store if you've previously made 8 or more orders

This discount gives customers a 10% discount on all products in store if customers have ordered 8 orders or more before.

Creating a Discount Rule:

  • Go to WordPress dashboard -> Woocommerce -> Discount Rules -> Click on “Add New Rule” button

  • Select the discount types as “Product Adjustment”

Then configure the discount rule as seen in the below screenshot:

Details of configurations are:

  • Choose "All Products" (storewide) from the filter options. You also have options like specific Categories, selected Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.

  • Set the discount type to 10% Percentage Discount. You also have options to choose Fixed discount or Fixed price per item

  • Add the following additional condition: "Number of orders made." The orders can be placed at any time “All time”, and the order quantity should be greater than or equal to 8.

  • Furthermore, select the order statuses that will be considered as successful orders to meet this condition, such as Processing and Completed.

  • Click on “SAVE” once we have successfully created the rule.

Now, customers will now receive a 10% discount on all products in store if they have previously completed a minimum of 8 orders so far.

Here is a screenshot of the cart page, displaying a 10% off applied on products in cart because I have completed a total of 8 orders so far:

Example 2: Enjoy 15% off from the cart when you've placed 5 orders or more

In this scenario, customers who have previously made 5 orders or more will receive a 15% discount on their entire cart.

Creating a Discount Rule:

  • Go to WordPress dashboard -> Woocommerce -> Discount Rules -> Click on “Add New Rule” button

  • Select the discount types as “Cart Adjustment”

Then configure the discount rule as seen in the below screenshot:

Details of configurations are:

  • Choose "All Products" (storewide) from the filter options. You also have options like specific Categories, selected Products, Attributes, Tags, Sku’s and so on… You can choose the option depending upon your requirement.

  • Set the discount type to a 15% percentage discount. You also have options to choose Fixed discount or Fixed discount per product

  • Set the Discount Label as per your requirement.

  • Add the following additional condition: "Number of orders made." The orders can be placed at any time “All time”, and the order quantity should be greater than or equal to 5.

  • Furthermore, select the order statuses that will be considered as successful orders to meet this condition, such as Processing and Completed.

  • Click on “SAVE” once we have successfully created the rule.

Now, customers will now receive a 15% off from the whole cart if they have previously completed a minimum of 5 orders so far.

This screenshot shows the cart page with a 15% discount applied to the entire cart. This discount is available because I have completed a total of 5 orders up to this point:

Example 3: For your 6th order, receive Free Shipping as a thank you

In this scenario, customers who have made 5 orders or more in the past will be eligible for Free Shipping on their 6th order.

Creating a Discount Rule:

  • Go to WordPress dashboard -> Woocommerce -> Discount Rules -> Click on “Add New Rule” button

  • Select the discount types as “Free Shipping”

Then configure the discount rule as seen in the below screenshot:

Details of configuration:

  • Give a title for this rule and click on the “Add condition” button

  • Include the following additional condition: "Number of orders made." The orders can be placed at any time “All time”, and the order quantity should be greater than or equal to 5.

  • Furthermore, select the order statuses that will be considered as successful orders to meet this condition, such as Processing and Completed.

  • Click on “SAVE” once we have successfully created the rule.

Now, customers are entitled to Free Shipping on their 6th order, as I have already placed 5 orders.

This screenshot shows the cart page with Free Shipping applied. This discount is available because I have completed a total of 5 orders up to this point:

The above discussed scenarios require a PRO version.

Note:

  • You can also pick a specific time period from your purchase history and apply discounts as you like.

  • When testing, use an account that matches the purchase history conditions.

  • The discounts will be applied during checkout after confirming your email.

Next Steps:

You may also want to check out these helpful guides:

Check out the following video tutorial to know more about purchase history based conditions:

Still unclear?

If you need any assistance, please create a support request at our ticket system. We are always happy to assist you :)

Did this answer your question?