Wordpress

How To Create Cart Discounts In Your WooCommerce Online Store

Setting up WooCommerce cart discounts or cart deals is a part of pretty much every pricing strategy. Cart discounts are the ones where you apply discounts on the customer’s cart and not on the products. For example, discount based on order total or purchased quantity. So, do you want to create WooCommerce cart discounts as well? This guide walks you through how to create cart discounts in your WooCommerce online store using the bestselling discount plugin Woo Discount Rules.

WooCommerce cart discounts are used when you do not want to apply a discount on your product’s price directly. That is, you might want to ensure that your customers buy for a certain value (quantity or subtotal) to avail a discount, regardless of what products they buy. With WooCommerce Discount Rules, setting up cart deals becomes as easy as anything can get.

WooCommerce Discount Rules deals with such cart discounts in its "Cart Discount Rules" setting. To get started, let's take a look at the different types of cart discounts you can apply. The below image shows the variants of cart level discount conditions available in Woo Discount Rules:

multiple variants of cart discount

So, you can basically include any of the above parameters in your discount rules, be it order total or order quantity or customer billing city, etc.

However, this article discusses the most commonly used scenarios of cart level discounts such as:

  1. Discount based on order total (cart subtotal)
  2. Discount based on order total for specific users (user role based)
  3. Discount based on number of cart items (number of individual products purchased)
  4. Discount based on purchased quantity (sum of all quantities purchased)

How to create WooCommerce Cart Discounts?

In general, the following are the steps you will have to follow to create WooCommerce cart discounts.

Step 1 - Create a new rule.

Step 2 - Enter the general rule details.

Step 3 - Add conditions based on which the rule will apply. You can add as many conditions as you want.

Step 4 - Define the discount type (Percentage or fixed price) and the value.

Step 5 - Save the rule, enable it, and you are good to go.

Now that you know the overall process, let’s go into the details of creating different types of discounts. However, the first step of creating the rule and defining the general details is the same in all the cases. Here is the common procedure:

Create a new rule in the Cart Discount Rules tab. Enter the general details such as:

  • Order - Priority of the rule over other rules
  • Rule name - What you want to call the rule
  • Rule description - A short description
  • Validity - From and to dates (Optional)

After this, you can set up the discount condition and value based on your requirements. Here is how to create the three different condition variants:

1. How to create WooCommerce discounts based on order total?

Let us say the discount you want to give your customers is “All orders above $500 will get 15% discount”. Now that you have created the rule in the initial setup, in the Conditions tab,

  1. Add a new condition.
  2. Select the Type as Subtotal at least from the dropdown.
  3. Enter the Value as 500.

This says that the discount applies when the cart subtotal is at least $500.

cart subtotal

Next, you will have to define the value of the discount.

The value of discount in our case is 15%. So in the Discount tab,

  1. Select the Discount Type as Percentage Discount.
  2. Enter the Value as 15.

cart subtotal 1

Save the rule to apply it on the cart of your customers.

2. How to create WooCommerce discounts based on order total for specific users?

This is an extension to the previous example. Here, let's add two conditions to give the same discount based on order total, but only for specific user roles. So, let us take the previous example statement, “All orders above $500 will get 15% discount“. To apply this on a particular category of users, say “Subscribers”, you need to add another condition as shown below:

cart subtotal 2

In the second condition,

  1. Select the Type as User role in list.
  2. Choose the Value as Subscriber (You should have created the user role beforehand).

Not only this, but you can combine any conditions with each other to provide advanced cart discounts in your store. When there are more than one condition in a rule, all the conditions must hold true for the discount to apply.

You can also check out how to create user specific discount rules and user role based discounts in detail.

2. How to create WooCommerce discounts based on number of cart items?

Let us say the discount you want to give your customers is “Buy any 5 items and get 5% off”. All you have to do in is, in the Conditions tab,

  • Add a new condition.
  • Select the Type as Sum of item quantities at least from the dropdown.
  • Enter the Value as 5.

This says that the discount applies when the user purchases a total of 5 items from your online store.It can be 5 quantities of the same product or different products. The condition takes the sum of line item quantities.

cart sum quantity

Now define the value of the discount, which is 5% in our example. So, in the Discount tab,

  1. Select the Discount Type as Percentage Discount.
  2. Enter the Value as 5.

cart sum quantity1

Save the rule. The discount has been applied now.

3. How to create WooCommerce discounts based on purchased quantity?

Let’s change the discount rule a bit for this part. If your discount has to be “Add 5 items to your shopping bag and get 10% discount”. Here, it may look similar to the previous case but it is not. This discount considers only the total cart items irrespective of the quantity of each item.

For example, if a customer buys 5 numbers of the same bag pack, the rule doesn’t apply. She has to buy 5 different products of whatever quantity to get this discount.The condition checks for the number of line items.

To set this up, go to the Conditions tab and,

  1. Add a new condition
  2. Select the Type as Count of cart items at least from the dropdown.
  3. Enter the Value as 5.

This says that the discount applies when the user adds 5 different products to their cart.

cart count

After the condition part, set the discount value.

  1. Choose the Discount type as Percentage Discount.
  2. Enter the value as 10 because we are giving a 10% discount.

cart count1

You can choose Price discount if you want to give a price discount, say $10 off.

With these steps being done, save your rule, enable it and enjoy the boost in your sales.

So, that's a wrap on WooCommerce cart discounts. Isn't it great that you can give a cart discount based on literally anything using Woo Discount Rules? Use our demo site to try the plugin yourself and get a feel of it.

We would love to hear how helpful this article has been for you. Also let us know how WooCommerce Discount Rules has helped enhance your eCommerce business in the comments below.