Skip to main content
All CollectionsDiscount Rules for WooCommerceCondition Based Discount
Discount based on Cart Quantity/ Item Quantity
Discount based on Cart Quantity/ Item Quantity

Discover how to provide discounts based on the total number of quantities in a cart using Discount Rules for Woocommerce plugin in few steps

Haripradeepa Senthilkumar avatar
Written by Haripradeepa Senthilkumar
Updated over 9 months ago

Introduction:

A cart quantity/ Item quantity based discount is a feature provided by the Discount Rules for WooCommerce plugin, allowing discounts based on the total quantity of items in a customer's shopping cart.

For example, with the plugin, if a customer buys more than 5 T-shirts, they can receive a 10% discount.

This incentivizes larger purchases by offering discounted prices or benefits based on cart quantity and this type of discount also boosts order value and customer satisfaction, encouraging customers to buy more.

Examples scenarios of setting up discounts based on cart quantities:

  • Store-wide 15% off when customers buy more than 10 items in their cart.

  • Buy 3 or more products from a specific category “Electronics” and get a 20% discount on those items.

  • Free shipping on orders with a cart quantity of 8 or more items.

To create rules with Item Quantity conditions, you need to have the Discount Rules PRO plugin installed and activated. Purchase the PRO version by clicking on the button below.

Now, let's explore each example scenario in detail.

Example 1: Store-wide 15% off when customers buy more than 10 items in their cart

In this scenario, if customers choose to purchase at least 10 quantities of any items available in the store, they will be eligible for a 15% discount to all products throughout the store.

To create this rule, follow these steps

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 a 15% percentage discount. You also have options to choose Fixed discount or Fixed price per item

  • Include “Item Quantity” as additional condition, enter the value as 10

  • Set How to calculate the cart quantity as -> Count all items in cart

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

Now, customers who purchase a minimum of 10 quantities/ products, will get 15% off on all products in store.

Screenshot showing 15% off applied while cart has 10 quantities:

Example 2: Buy 3 or more products from a specific category “Electronics” and get a 20% discount on those items

This scenario provides a 20% discount on a specific category in cart if there are more than three quantities of product from the category “Electronics” added to cart. Only items that are chosen in the filter (For example category “Electronics”) will be counted from cart to calculate quantities/ discount.

To create this rule, follow these steps

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 "Category” as filter 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.

  • In-list the category “Electronics” by typing a few characters of that category.

  • Set the discount type to a 20% percentage discount. You also have options to choose Fixed discount or Fixed price per item.

  • Include “Item Quantity” as additional condition, enter the value as 3

  • Set “How to calculate the item quantity -> Only count items chosen in the filters set for this rule”

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

Now, customers who purchase a minimum of 3 or more products from the “Electronics”, will receive 20% off from that category.

Here is the cart page screenshot showing an example:

Example 3: Free shipping on orders with a cart quantity of 8 or more items

This discount offers Free Shipping for customers while they purchase 8 or more quantities of products from cart.

To create this rule, follow these steps

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 configurations are:

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

  • Select the “Item Quantity” as additional condition and enter the value as 8

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

Customers who purchase 8 or more quantities will now be eligible for Free Shipping.

Here is the cart page screenshot showing an example:

The above discussed scenarios require a PRO version.

Note:

  • Item quantity refers to total quantities of product present in cart whereas, cart line item refers to the number of individual products on cart.

Next Steps:

You may also want to check out these helpful guides:

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?