## Buy Product A and get 20% discount on Product B. The customer can get a discount only if he purchases the Product A.

Using Dependant product based rule, you can be able to create discounts based on the dependency between products and the quantity which gets the discount.

There are few interesting features in this type like to skip first quantity for the discounts, any product quantities, combination of products.

Let us see the concepts and few example discount scenarios which can be achieved through the dependant product based rules .

Choose Method: Dependant product based rule from Price rule.

**Validity :** You can fill in the start and end date of the discount rule or you can leave them empty for the rule to take immediate effect. NOTE: Leaving the TO field empty means the discount would run forever. Have a check on the current date and time of your server, which might effect the start of your rule.

**Conditions Tab :**

#### 1.) Buy Conditions:

There are 3 types of Buy conditions in dependant product based discounts:

**Any , Each , Combine** are the 3 conditions.

**Any :** condition works like any of the selected products in the product selection on the specified quantities.

**Each :** The system will check if the customer bought specified quantity in each product in the FROM selected box. Example: Buy each 2 quantity from Product A and B, and get discount in Product C.

**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.

#### 2.) Apply Discount in :

You can apply the discount to selected products alone or to a entire Category.

When the cart satisfies the Buy condition, then the discount will apply in the get conditions.

## For Example:

Buy Product A and Product B to get 20% discount in product C.

**In the above condition**: When **Each **of the product **T-shirt and Denim Jeans** are in cart, then the discount will be applied for Belt.

Then discount percentage can be provide in the Discount tab:

You can also, provide a Price discount or a percentage discount.

Here is the cart page:

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.

**1.) First Quantity :**

If you want to give discount only for 1 quantity of the Get product , when any number of those are in cart, you can use First quantity to give discount.

You can also provide the quantity that you would like to give the discount for:

First 2 quantities etc. So, rest of the quantities they purchase will be charged.

**2.) Skip first Quantity :**

The discount will apply only from the second quantity of the products.

That is, the first quantity will not be given with discount.

You can proved how many quantities that has to be skipped from the discount.

## Let us see, some of the discount scenarios here:

**Scenario 1:**

**Buy 4 or more cap + 4 or more belt and get 10% discount from 2nd quantity of Bag: (Each)**

**Scenario 2:**

**Buy Book or Cap , get 25% discount in apparels category: (Any)**

**Scenario 3:Buy IPhone and Back case and get discount in First quantity of Mug: (combine)**

so, the discount will be applied only to the first quantity.

Quick Links:

Dependent product based discount -combine

Buy 2 quantities of A, 2 quantities of B and get discount in C

**I have more questions: **

Just leave your question and email by clicking the Live Chat button below.

We are always happy to assist you :)