Cart level discounts are the ones where you apply discounts on the cart level and not on the products. Cart discounts are generally the first kind of discount that eCommerce sellers think of. This guide walks you through how to create cart level discounts in your WooCommerce online store WooCommerce Discount Rules.

There are multiple variants of discounts you can give on the cart level. The options available in the plugin are:

multiple variants of cart discount

However, this article discusses the most commonly used scenarios of cart level discounts based on:

  1. Cart subtotal
  2. Cart quantity
  3. Total quantity

Initial setup for cart level discounts

First things first. 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 cart subtotal?

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 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.

There is more you can do with these 3 cases of cart discounts if you want. You could set more conditions for the same rule. In our above examples, the discounts apply to all customers. You can set it to apply to a particular users or user roles.

How to create WooCommerce discounts based on cart subtotal for specific users?

Let us take the first example in this article “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.

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).

When there are more than one condition in a rule, all the conditions must hold true for the discount to apply.

Check out how to create user specific discount rules and user role based discounts in detail.

Use our demo site to work yourself and check how it goes.

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.