How to Setup Buy X Get Y Free in Magento 2
Discounts and offers are some of the great ways to entice customers and boost sales during peak seasons. There are plenty of ways to offer lucrative deals to the customers. One such way to leverage sales and increase the average order value on your store is a ‘Buy X, Get Y Free’ offer in Magento 2.
Table of Contents
Using the ‘Buy X, Get Y Free’ in Magento 2, you can offer a Y quantity of products for free to the customers with a purchase of X quantity of products. The default Magento 2 allows offering such deals on the store using the cart price rules. In this article, I am going to cover how you can setup Buy X Get Y Free in Magento 2.
Let’s go!
Steps to Setup Buy X Get Y Free in Magento 2
- Step 1: Set up the Cart Price Rule
- Step 2: Define the Conditions
- Step 3: Define the Actions
- Step 4: Set the Labels
- Step 5: Apply the Rule
Step 1: Set up the Cart Price Rule
First of all, set up a new cart price rule in your Magento 2 store. You can refer to this step-wise guide: Create Cart Price Rule in Magento 2.
Step 2: Define the Conditions
Once you have filled the cart price rule information, scroll down and expand the ‘Conditions’ section. You can set different conditions to apply the ‘Buy X Get Y Free’ offer to the products in your Magento 2 store. You can also choose to apply the offer if All or Any of the conditions are True or False based on your requirements.
You can set various conditions to trigger the cart price rule. You can use the combination of the following:
- Product attribute combination
- Product subselection
- Conditions combination
- Cart Attribute
Add various conditions or combinations of conditions as per your choice to trigger the Buy X Get Y Free in Magento 2.
Step 3: Define the Actions
Once you have set the conditions, scroll down and expand the ‘Actions’ section. Select ‘Buy X get Y free’ in the Apply field and configure the following settings:
- Discount: Enter how many products you want to offer for free, i.e. Y. Enter 1 in case you are setting up Buy 3 Get 1 Free.
- Maximum Qty Discount is Applied To: Enter the maximum quantity of items on which the discount can be applied.
- Discount Qty Step (Buy X): Enter the minimum required quantity of products to offer the discount, i.e. X. Enter 3 in case you are setting up Buy 3 Get 1 Free in Magento 2.
You can also choose to apply the discount offer to the shipping amount and override the subsequent cart price rules.
Step 4: Set the Labels
After setting the actions, scroll down and expand the ‘Labels’ section. Here you can enter the labels for the rule for the default store and other store views.
Step 5: Apply the Rule
Once you have configured the rule properly, click on the ‘Save Config’ button to activate the Buy X Get Y Free offer in your Magento 2 store. It is advisable to test the rule by yourself to ensure that there are no errors in configuration and everything is working fine.
Additionally, you can add a free shipping bar to Magento 2 and get it noticed by the customers.
Examples of Buy X Get Y Free in Magento 2
There are plenty of ways to leverage sales in your store using the Buy X Get Y free in Magento 2. Provided below are some of the practical examples of how you can set up different promotional discount rules in Magento 2.
Example 1: Buy X Get Y Free for Specific Products
Let’s say you have plenty of dormant products of specific categories in your inventory that are not selling well. You can leverage the sales of low-selling products in your Magento 2 store by offering Buy X Get Y free offers on those products only. You can limit the offer only to specific SKUs using the conditions.
For example:
If ALL of these conditions are TRUE:
SKU is 123, 234, 345
Example 2: Limit the Maximum Number of Freebies
Suppose you want to limit the maximum number of free products that the customer can avail of, then you can use the following formula to calculate the maximum Qty Discount:
Formula = (X+Y) * (M/Y)
where
X = number of items purchased
Y = number of free items
M = Maximum number of free items allowed
For Example: If you want to allow maximum of 6 free products (M=6) on your store using the Buy 2 Get 1 Free offer (X=2, Y=1), the maximum Qty discount can be calculated as:
- Max Qty Discount = (X+Y) * (M/Y) = (2+1) * (6/1) = 18
Conclusion
Buy X Get Y free in Magento 2 is one of the amazing ways to encourage the customers to purchase more products in your store, leverage sales, and increase the average order value. Magento 2 supports setting up such discount offers by default using the cart price rule. It can be customized by setting different conditions, actions, and labels as per the requirements.
I hope this guide will help you to set up Buy X Get Y free in Magento 2.🚀
If you still have any doubts or queries, feel free to comment. I would be happy to help you.😊
Thanks for reading!
Prev
How to Integrate Zoho CRM with Magento 2 [2024]
How to Configure Zero Subtotal Checkout in Magento 2
Next