Magento Tutorials

How to setup Buy X Get Y Free in Magento 2

Hello Magento Folks,

How are you holding up? For the E-commerce stores, this is the peak time to boost sales by offering the best deals to your audience. For all who are unaware it’s just some days to go for Halloween. In this piece of the solution, I will guide you How to setup Buy X Get Y Free in Magento 2. Also, check out our lastly published blog How to Add Discount Offer with Minimum Purchase in Magento 2. Let’s Get In.

Mainly for Buy X Get Y Free offer you have to set up the Shopping Cart Price rule separately. Make sure you follow all the steps for offering discounts to your customer when the conditions are matched. 

Steps to setup Buy X Get Y Free in Magento 2:

Step 1: Set the Cart Price Rule

For this step you have to follow the How to Create a Cart Price Rule in Magento 2:

Step 2: Set the Conditions

Explore the condition section and select the condition as per your requirement by clicking on the Add button.

Step 3: Setup the Actions

Let’s understand by example

Here the action will be Buy 3 and Get 1 FREE

Apply: Select the Buy X and Get 1 FREE(discount amount in Y)

Discount Amount: Set discount amount 1

Maximum Quantity Discount is Applied:

Discount Qty Step (Buy X): 3

Step 4: Apply the Rule

Lastly, as always save the rule to apply

That’s It.

Final Say:

Therefore, after applying the above steps you have perfectly set up Buy X Get Y Free in Magento 2. If you come across any issue in the above steps approach then ask me in the comment section. Checkout for implementing setup of Minimum Order Fee in your Magento 2 store.

Share fast before the festival season is over with your Magento friends and help them to offer the best sales in the season of Festivals.

Happy Reading.

Click to rate this post!
[Total: 5 Average: 5]
Gaurav Jain

Gaurav Jain is Co-Founder and Adobe Certified Expert-Magento Commerce Business Practitioner. Being Computer Engineer👨‍💻 and possessing Extensive Marketing skills he handles all kinds of customer Queries and his Happy😀 & Helping🙏 Nature makes customer's day Delightful. When he isn’t working, you’ll find Gaurav Reading on Books📖 or Traveling🚗. Also, he is Speaker at Magento Meetups.

View Comments

  • This work fine if a customer buys 3 units of the same product. How can we setup if we want to allow the customer to buy any 3 in the category and get 1 free?

Recent Posts

The ABCs of Geofencing: Definition, Features and Uses

In this era, businesses are always on the lookout for ways to engage with their…

10 hours ago

How to Delete Product Variant in a Shopify Remix App using GraphQL Mutations?

Managing a Shopify store efficiently involves keeping your product catalog organized. This includes removing outdated…

1 day ago

6 Innovative Tools Revolutionizing E-Commerce Operations

E-commerce has transformed the way consumers shop for products and services and interact with businesses.…

3 days ago

How Upcoming Cookie Changes Will Affect Your E-commerce Website?

The e-commerce world is constantly in flux. New tech and strategies emerge daily to help…

4 days ago

Magento 2: How to Add Header and Footer in Checkout

Hello Magento Friends, In today’s blog, we will discuss adding a header and footer to…

4 days ago

Understanding Flexbox Layout in React Native

Hello React Native Friends, Building a visually appealing and responsive mobile app is crucial in…

6 days ago