Magento allows you to setup Cart Rules using different product attributes like price, quantity, category, etc. by which it is very easy to add “Buy X Get Y Free” rules
Setting up Cart Rule:
- Sign in to Magento Dashboard
- Goto Marketing > Promotions > Cart Price Rules
- Add New Rule
Rule | Discount Amount | Discount Qty Step (Buy X) | Maximum Quantity Discount is Applied To |
Buy 1 Get 1 Free | 1 | 1 | 0 (default) |
Buy X Get Y Free | X quantity | Y quantity | (X+Y) * (M/Y) |