Many a times, you want to give discounts based on the quantity purchased, regardless of the subtotal of the cart. This tutorial walks you through how to provide discounts based on the quantities purchased by the customer.

WooCommerce Discount Rules deals with quantity based discounts in two ways - product level and cart level.

1. Product Specific Quantity Based Discount

Product level discounts are dependent on product(s) or category(s). For example, “Buy 10 mugs or more and get 5% off” or “Buy 5 items from Electronics and get 10% discount”. To set up discounts that depend on products or categories, you first need to…

Step 1:

Create a new rule in the Price Discount Rules tab.

set name expiry for the discount rule

Step 2:

Add the general details of your rule. Make sure you select the method as Quantity Based.

set name expiry for the discount rule

The quantity based discounts on a product level can apply on individual products or categories of products. Let us have a look at both the cases.

  1. How to set up quantity based discounts on individual products:

    set name expiry for the discount rule

    set name expiry for the discount rule

    In the Apply To option, select “All Products” or “Specific Products” according to your requirement. Then select the customers - either “All Customers” or “Only Given” . Check the Purchase History box if your discount applies based on the customer’s purchase history.

  2. How to set up quantity based discounts on product categories:

    set name expiry for the discount rule

    set name expiry for the discount rule

    This method differs just a tiny bit from the previous setting. Choose “Specific Categories” in the Apply To option and then choose one or more categories from the dropdown.

Note:
  1. To apply the rule to subcategories also, select “Apply Child Categories” checkbox.
  2. Check the box “Is Cumulative” if you want to include the quantities on the cart as individual products. Otherwise each line item in the cart will be considered as a single product regardless of the quantity.

Step 3:

Define the core discount properties. Add the minimum and maximum quantity (Min - 10, Max - some value, say 999), adjustment type (Percentage or Price discount) and the value of discount (5% or $50).

set name expiry for the discount rule

2. Cart Specific Quantity Based Discount

The quantity based discounts specific to cart level depend on the total number of cart items like “Buy any 5 items and get $20 off”. The rule will not apply to individual products or categories listed in the cart.

Step 1:

Create a rule in the Cart Discounts Rule tab.

set name expiry for the discount rule

Step 2:

Add cart condition as “Sum of quantities at least”.

Step 3:

Define the core discount properties - Percentage or Price discount and the value.

set name expiry for the discount rule

Now you are all set to provide your customers with discounts based on the quantity they purchase.

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

We hope you found this article helpful. Also check out how to set up bulk discounts with WooCommerce Discount Rules with WooCommerce Discount Rules.