How to set quantity for “special offer” price rule

The quantity is calculated according to how it has been selected in “Quantity based”.
Before analyzing the possible options, we must specify that the requested quantity must be inserted in “Special offer Rules -> Purchase”

Quantity required

Let’s analyze the possible options available in the plugin to calculate the quantity of product in the cart:

  • “Item quantity in cart line”: the quantity is calculated on 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.

    Item quantity in cart line example - Admin View

    Item quantity in cart line example - User View

    In relation to the example above, the rule provides, in case one of the products added in the cart has a quantity of 2, a 100% discount on “headphone Over-Hear”. The product that satisfy this condition is “Transformer book T3000”.

     

  • “Single Product”: the quantity is calculated separately for all the products added to cart, among those selected in “Apply to”. 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.

    Single Product example - Admin View

    Single Product example - User View

    The discount rule has been set as follows: if there are 2 “Headphone Over-Ear” in the cart and/or 2 “Camera Bag”, a 100% discount will be applied on “Transformer Book T300” product.
    As shown in the second image, the discount has been correctly applied, as both “Camera Bag” and two variations of “Headphone Over-Ear” guaranteed the requested quantity (regarding variations, their quantities have been added up and considered as unique).

  • “Single product variation”: the quantity is calculated separately on all products in the cart that are among those selected on “Apply to”.
    Please note: each single product variation is considered as single product and their quantities are not added up.

    Single Product Variation example - Admin View

    Single Product Variation example - User View
    In this case, the discount has been applied because one variation of “Headphone Over-Ear” (one of the products selected in “Apply To”) has a quantity of 2 and the condition of minimum requested quantity has been satisfied. Differently from the previous case, this time each single variation is considered as single product and the total quantity of variations is not a valid element to satisfy the rule.

  • “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 specified in Special Offer Rules > Purchase.
    In our example, as we have selected quantity as 2, cart has to contain at least 2 items of the specified product if we want the discount to be applied.