Setup Buy X Get Y Free is one of the actions when you create the Shopping Cart Price Rule. With the promotion, customers can receive an amount of discount (Y is the discount amount) if there is the quantity of products (X) you have set before, simultaneously, all conditions of the rule are met. The format of the discount will appear as the following:
In this tutorial, I will help you get the steps clearly to setup Buy X Get Y Free.
Complete this step when you follow the topic: Create a Cart Price Rule
Conditions tab, appear the statement “If ALL of these conditions are TRUE”
The statement has two bold links “All”and “TRUE” to edit.
Leave the conditions blank if you want to apply for all products
Addicon to set conditions for the rule:
Addicon and follow these steps again to add as many conditions of the cart price rule as you need
Deleteicon to remove it.
Discount Qty Step (Buy X)field.
Save and Continue Editto edit the rule as your expecation.
Default Labelsection, insert the text in the
Default Rule Label for All Store Views.
Store View Specific Labels, set the label for each store view,
Save Rule to enable the rule.
As usual, it will take an hour to make the new rule available. In addition, you should test the rule in the right way to ensure that it is perfect.
Ref: Magento 2 User Guide
It comes to the end of tutorial: How to setup Buy X Get Y Free in Magento 2.