Let's say I am trying to set up a variant product discount.

Example:

Buy combine(memory card -16GB, 8GB & 4GB) and get $5 discount.

A quick definition of how combine works. **Combine: **When multiple products are selected in the FROM field, this can be used to combine their quantity count in the cart. Example: Buy more than 5 quantities of A and B and get 10% discount on Product C. if 2 quantities of A and 3 quantities of B is bought (total 5 when combined), this rule will apply.

Another useful option here is the Skip first X number of quantities. You can skip applying the discount to first 2 quantities of the products and only apply to the rest.

Similarly, you can apply only to First quantities. i.e., limit to first 2 eligible quantities and the rest can be excluded from discount.

**Let's see on how to set such a rule:**

Navigate to Woocommerce --> Woo Discount Rules.

Here, select Price based rule and click on "Add new rule".

**General Tab:**You can give the below details.

Order: Priority of your rule.

Rule Name: Provide a rule name, here it is "Variant Product"

Rule Description: A two line description of your rule.

Method : Select "Dependant/conditional based discount".

Validity : You can select date if you need to limit this discount for a particular period of time.

**Condition Tab:**

In the conditions tab, you need to specify for which product you need to provide the discount for.

Here the rule is to give discount when any combination of the variant product is purchased above 10 quantities, then discount will be applied for all the variant products in the cart.

**Discount:**

Applying Fixed $5 discount for all the product variant combinations .

**Cart:**

The Rule applied with $5 discount for each product when 10 quantities of the variants are purchased.

**What happens when the cart contains 5 quantities of 4GB RAM and 5 quantities of 16GB RAM ?**

Since it is a "Combine" based discount, yes the discount will be applied.

Here is a Video Tutorial :

**I want the discount to be only applied only when each 5 quantities of 4GB, 8GB and 16 GB are in cart .. **

Instead of Combine, use the Each option.

Click here to know more.

**Quick Links : **

**Still unclear ?**Please submit a support request. We are always happy to assist you :)