Add an automatic Buy X get Y discount on checkout to increase the sales of a specific product

How does it work?

Create an automatic discount that will be applied to the order price on checkout and that could increase the sales of a chosen product in your shop. The discount could be added based on the minimum amount or quantity of a specific product reached in the cart.

Example 1: Add 2 pairs of jeans and one t-shirt to the cart, and get the t-shirt with a 50% discount on checkout.

Example 2: Add 3 pairs of jeans and one t-shirt to the cart, and get the t-shirt for FREE.

Note: Both products need to be already added to the cart to make the discount work. The discounted product won’t appear by itself on the checkout page.

How can I set up this discount?

Structure of the discount setup: