If you decided to use the “Quantity discount” type rule, it means you want to apply the discount only if the cart includes a certain product quantity.
The quantity is calculated according to how it has been selected in “Quantity based”.
Before analyzing the possible options, we must say that the minimum and/or maximum quantity of products allowed for the rule need to be specified in “Discount Rules”.
You can specify different amounts for different quantity ranges. In this case, you must add as many “n” rules as the quantity ranges to define.
Let’s analyze the possible options available in the plugin to count the product quantity in the cart:
- “Item quantity in cart line”: the quantity is calculated for each product line in the cart, among those selected in “Apply to”.
Product variations are considered as different products, for this reason (in this modality) two or more variations of the same product aren’t added up.
Shown below, two screens for example.
As shown in the example of the images, a 50% discount has been set on all products in the cart with a minimum quantity of 2.
- “Single Product”: the quantity is calculated separately for all the products that, among those selected on “Apply to”, have been added to cart. The difference compared with the previous case, is about variations of the same product which are considered by the system as a unique product and, therefore, their quantities are added up.
Here is an example to explain it better.
According to settings done, the discount is applied only to those products in the cart that have a minimum quantity of 2, specifically to “Headphone over-hear” products. The two elements are variations of the same product and the total of their quantity satisfies the requested condition.
- “Single product variation”: the quantity is calculated separately on all the products in the cart which are among those selected on “Apply to”.
Please note: each single product variation is considered a single product, therefore their quantity aren’t added up.
- “Sum of all products in list or category list”: to apply the discount, the number of products added to the cart (chosen among those specified in Apply to) has to be between maximum and minimum quantity specified in Discount Rules.
In our example, as we have selected only the minimum amount as 2, the cart has to contain at least 2 items of the specified product if we want the discount to be applied.