🔥 “Hurry! Limited Time Offer – Save 20% OFF Your Purchase!”

How to Create a WooCommerce Buy X Get Y Offer? (3 Ways)

Create WooCommerce Buy X Get Y Offer

Are you using the same “Buy One Get One Free” offer on your WooCommerce store? Your customers have already using this deal everywhere.

To provide them with a unique shopping experience, you have to update your BOGO strategy using the “WooCommerce Buy X Get Y” formula.

Nowadays, customers buy one product at the original price and get the same one for free. But to add value to their main product, you can provide them with a different product for free or at a discounted price.

You may know you cannot create this type of X and Y deals in default settings. In this blog, let’s check the three different ways to create Buy X Get Y in WooCommerce using a discount plugin, “Discount Rules for WooCommerce -Pro.”

Create Buy X Get Y Deals For Specific Users Using Discount Rules Pro and Enhance Customer Engagement.

What is WooCommerce Buy X Get Y?

The WooCommerce Buy X Get Y is a promotional strategy where customers buy a product (X) and get a different (Y) product for free or at a discount.

The usual Buy One Get One (BOGO) campaigns have two categories:

  • Buy X Get X – When a customer purchases a product (X), he can get the same (X) product for free or at a discount. For instance, when a customer purchases a T-shirt, he can receive another T-shirt for free.
  • Buy X Get Y – When a customer purchases a product (Y), he can get another product (Y) for free or at a discount. For instance, when a customer purchases a T-shirt (X), he can receive a Cap (Y) for free.

Both categories are helpful in driving sales. You can implement both or choose one based on your sales goal. Let’s discuss only the “Buy X Get Y” WooCommerce category in this blog.

Why Use Buy X Get Y in WooCommerce?

Using the Buy X Get Y in WooCommerce for online store promotions is the best decision as it provides the following benefits: 

  1. Increase Average Order Value (AOV):

The Buy X Receive Y offer encourages customers to add more products to their cart to get a free offer or discount, which leads to increased average order value.

  1. Promote New or Specific Products:

The  WooCommerce Buy X Get Y campaign allows you to focus attention on new or specific products in your inventory. With this BOGO offer, customers must buy the particular ‘X’ product to claim the ‘Y’ offer.

  1. Clear Inventory:

Whether you’re moving certain slow-selling, excess stocks, or items nearing lifespan, you can use “Buy X Get Y” campaign to increase these product sales and clear inventory.

  1. Attract New Customers:

Special promotions like Buy X Get Y WooCommerce campaigns can attract new customers to your WooCommerce store. The allure of a free or discounted item often gives first-time buyers a strong incentive to explore your WooCommerce product pages and make a purchase.

  1. Competitive Advantage:

Offering unique and attractive promotions sets your store apart in a competitive market. The Buy X Get Y formula gives you a competitive advantage by adding value to customers and influencing their buying decisions in your favor.

Offer Buy X Get Y Deals Based on Cart Total Using Discount Rules Pro and Increase Average Order Value

How to Create a WooCommerce Buy X Get Y? (3 Ways)

Creating Buy X Get Y in WooCommerce requires a plugin like ‘Discount Rules PRO for WooCommerce.’

You can check this installation guide to download and install the plugin in your WordPress platform. 

For this tutorial, we will consider product ‘X’ as ‘T-shirt’ and product ‘Y’ as ‘Cap.’ 

Let’s check the three different scenarios to utilize this BOGO deal.

Scenario 1:  Get Y free with your purchase of X

In the ‘WooCommerce Buy X Get Y Free’ campaign, we will offer the ‘Y’ product for free when customers buy the ‘X’ product.

Here are the steps:

  • Go to WordPress dashboard -> WooCommerce -> Discount Rules -> Add New Rule.
  • Enter the campaign name for reference and select the discount type as ‘Buy X Get Y.
  • In the filter section, you can filter product ‘X’ as ‘T-shirt.
  • In the discount section, select ‘Y type’ as ‘Buy X Get Y – Products’ to set the specific ‘Y’ product, ‘Cap.
  • Set ‘Buy and Get quantity’ as 1 and choose Discount type as ‘Free.’
  • Click the ‘Auto add’ option to automatically add the free ‘Y’ product when the specified ‘X’ product is added to the cart.
  • It is optional to select the ‘Recursive’ option. If this option is enabled, the offer works in a loop (i.e.,) for each Buying quantity, a free item is added.
  • Save and enable the rule.
Creating a free product offer using BOGO discount

When a customer adds a ‘T-shirt’ to their cart, a ‘Cap’ will be added automatically.

Adding free product automatically to the cart

Scenario 2: Purchase X, Receive Y At a Discount

In the ‘Buy X Get Y at Discount’ campaign, when a customer purchases an ‘X’ product, he can get discounts for product ‘Y.’

You can set discounts in two ways:

  • Percentage discount to provide product discount in percentage. For example: 50% off.
  • Fixed discount to give a discount in fixed cost. For example: $5 off.

For instance, When a customer purchases a ‘T-shirt,’ he will get a ‘Cap’ at a 50% discount:

  • Choose the discount type as ‘Buy X Get Y.’
  • Filter the specific product, ‘X.’ Choose the ‘Y’ product in the discount section.
  • Select ‘Discount Type’ as ‘Percentage Discount’ and set ‘Discount Value ‘as ‘50.’
  • You can provide this discount offer with two options:
    • Choose ‘Auto add’ to automatically add a discounted price to the cart. 
    • Choose ‘Cheapest/ Highest’ to suggest the discounted product on the cart. Customers must click the ‘Add to Cart’ button to add it to their cart. 

Note: If ‘Auto add’ is selected, customers must remove product ‘X’ to remove product ‘Y’ from their cart.

  • Save and activate the offer.
Creating a Buy X Get Y deal using percentage discount

For this example, I choose the ‘Auto add’ option, so when customers add a ‘T-shirt’ to their cart, the discounted ‘Cap’ is added automatically.

Applying 50% discount on get product.

Scenario 3: Buy X Get Y With a Coupon

In the ‘Buy X Get Y With Coupon’ campaign, when a customer purchases an ‘X’ product, he has to apply the coupon Code to get the free or discounted ‘Y’ item.

For this example, I take ‘X’ as ‘All Products,’ which means customers can buy any products in the store and apply coupon ‘CAP5’ to get a $5 fixed discount on ‘Y,’ which is ‘Cap.’

To create this WooCommerce Purchase X Get Y Coupon offer,

  • In the filter section, choose ‘All Products.’
  • Choose ‘Cap’ and select ‘Discount Type and Value’ as ‘Fixed Discount’ and ‘5.’
  • Choose ‘Auto add’ so customers can get the discounted product in their cart after applying the coupon code.
  • In the ‘Rules’ section, choose ‘Condition Type’ as ‘Coupons’ and create your Coupon code.
  • Save and activate the campaign.
Creating BOGO X and Y type using coupon

When customers add any products to their cart and apply the ‘CAP5’ coupon code, a cap is added with a $5 discount.

Note: Customers can remove the ‘Coupon code’ to remove discounted products from their cart.

Discounts applied to the Y product after applying coupon code.

WooCommerce has default coupon code settings. With this plugin, you can either create your own coupon code or integrate the default coupon code from the settings.


Using this Buy X Get Y formula, you can offer a ‘Buy 2 Get 1 Free‘ deal and more. 

You can also apply conditions to your Buy X Get Y deals other than coupons. For example, you can enable the discounted or free product based on the cart total, specific users (or) user groups, cart items, and more.

Here are the steps to create conditional discounts in WooCommerce.

5 Proven Strategies For WooCommerce BOGO Discounts

Buy X Get Y in WooCommerce is a helpful tactic to grow sales. Discover the five proven discount strategies to boost your order value here:

  1. Classic Buy One Get One (BOGO)  Free Offer
    This straightforward and highly favored ‘Buy One Get One Free (BOGO)’ offer is excellent for promoting products with high margins or for efficiently moving surplus stock. 
    It allows for two-for-one deals on the same items or on the least expensive item in a shopping cart.
  2. Buy X, Get Y at No Cost
    This offer encourages customers to buy a certain product (X) to receive another item (Y) at free. It’s a flexible promotion that can be applied to any product. For example: ‘Buy 2 t-shirts, receive a tote bag free.’
  3. Pick and Choose BOGO
    This option gives customers the liberty to select their complimentary item from a range of options, promoting multiple products and incentivizing bigger purchases. 
    An example is ‘Buy 3 items, choose any one item from a selection for free.’
  4. Tiered BOGO Offer
    This tiered approach provides customers with more incentives to buy more, encouraging larger transactions while still offering attractive discounts or free products.
    For instance, ‘Buy 1, get 10% off; buy 2, get 20% off; buy 3, receive one item free.’ 
  5. Time-Sensitive BOGO Offers
    Generate urgency and a feeling of scarcity by setting a time limit on these offers. 
    Utilizing countdown timers on product pages or conducting limited-time flash sales are effective ways to boost sales during off-peak times or to clear out seasonal stock.

Implement these different BOGO offers and choose the best-performing ones to get more sales.

Best Practices for Buy X Get Y WooCommerce Campaigns

WooCommerce Buy X Get Y campaigns can drive sales and revenue only when implemented correctly based on customers’ interests and sales goals. Check these best practices before activating your campaign:

  • Clear Communication: Clearly communicate the promotion terms on your WooCommerce store. 
  • Strategic Product Pairing: Choose products for your Buy X Get Y offer that complement each other or are ‘frequently bought together.’ Ensure that the pairing makes sense and adds value for the customer, encouraging them to take advantage of the offer.
  • Use Attractive Images and Descriptions: Showcase the products involved in the promotion with high-quality images and compelling descriptions. 
  • Prominent Placement: Display the promotion details of Buy X Get Y in WooCommerce prominently on relevant product pages and the cart/checkout pages. Consider using banners, pop-ups, or dedicated sections to grab visitors’ attention.
  • Responsive Design: Ensure that your WooCommerce store is mobile-friendly and has a responsive design. Many customers browse and shop on mobile devices, so a seamless experience across various screen sizes is crucial.
  • Promote on Social Media and Emails: Leverage your social media channels and email marketing to promote your BOGO deals.         
  • Track and Analyze Performance: Use analytics tools within WooCommerce or external platforms to track the performance of your Buy X Get Y discount campaign. 
  • Implement Exit-Intent Popups: To capture customers’ attention and keep them engaged, use the Buy X Get Y formula to provide discounts on exit-intent popups.
  • Offer Exclusive Deals to Subscribers: Encourage visitors to subscribe to your newsletter by offering exclusive Buy X Get Y deals to subscribers. This will build your email list and provide an additional incentive for potential customers.
  • Utilize Discount Plugin: To simplify your campaign process, you can use the WooCommerce BOGO plugin, like the one above.

Offer Buy X Get Y Free Discounts Using Discount Rules Pro to Acquire More Customers and Increase Sales.


Implementing a WooCommerce Buy X Get Y offer can help you attract more customers and increase your average order value. You can try the above mentioned discount strategies to create attractive and effective Buy X Get Y WooCommerce campaigns. 

Do not limit your sales with default WooCommerce features. Use the “Discount Rules for WooCommerce -Pro” plugin to boost your sales and revenue. 

Elevate Your Discount Strategies With These Guides:

  1. How to create a bulk discount in WooCommerce?
  2. How to offer free shipping in your WooCommerce store?
  3. 5 Best WooCommerce Buy One Get One Free Plugins
Can I offer a percentage discount on Y when customers buy X products?

Yes, you can offer a percentage discount on Y when customers buy X products using the ‘Discount Rules Pro for WooCommerce’ plugin. It is one of the most popular scenarios many online store owners use to boost their average transaction value.

Is it possible to offer a free product (Y) when customers purchase a certain quantity (X)?

Yes, with the ‘Discount Rules Pro for WooCommerce’ plugin, you can set up “Buy X Get Y Free” promotions where Y is a free product. When customers meet the buying criteria of product X, the free Y product is automatically added to their cart.

Can I limit the “Buy X Get Y” offer to specific products or categories in my WooCommerce store?

Creating a ‘Buy X Get Y’ offer for a specific product or category is possible using a WooCommerce BOGO plugin like ‘Discount Rules.’

How can I encourage customers to take advantage of the “Buy X Get Y” offer?

You can promote your Buy X Get Y offers through your website, email marketing, and social media to attract customers’ attention and encourage them to purchase.

Are there any considerations when using the “Buy X Get Y” feature in WooCommerce?

Configure the ‘Buy X Get Y’ rule carefully and specify which product is eligible for a discount. Also, the discount plugin you choose should be compatible with WooCommerce and other plugins.

Can I set expiration dates or time limits for “Buy X Get Y” WooCommerce promotions?

Yes, ‘Woo Discount Rules’ allow you to set expiration dates or time limits for your BOGO promotions to create a sense of urgency. Also, you can set a ‘Usage Limit’ to restrict the usage of repeated offers.

How do I track the performance of my “Buy X Get Y” promotions in WooCommerce?

You can use WooCommerce reporting tools or analytics to track the performance of your promotions, including sales, conversion rates, and revenue generated.
If you are using the ‘Discount Rules Pro’ plugin, you can check the performance in the ‘Woo Discount Rules -> Reports’ tab.

What is the buy 2 get 1 free pricing strategy?

The buy two get one free pricing strategy is a promotional approach where customers purchase two items at the regular price and receive a third item for free. It encourages bulk buying, increases sales, and enhances customer value by offering a complimentary product.

How do I offer free products on WooCommerce?

To offer free products on WooCommerce:
1. Install and activate the ‘Discount Rules’ plugin.
2. Add a new rule and choose the discount type as ‘Buy X Get X (or) Buy X Get Y.’
3. Filter the ‘Buy’ product.
4. Select the ‘Get’ product in the discount section and set the discount type as ‘Free.’
5. Optionally set purchase conditions and save the rule.

Picture of Nanthini Sri

Nanthini Sri

I'm Nanthini, an experienced marketer turned content writer. Specializing in B2B and ecommerce, I have a knack for simplifying intricate concepts, making industry insights easily accessible to all readers. When not crafting content, catch me immersed in books or binge-watching dramas!
Sign Up here for Early Access
This website uses cookies to provide user authentication and improve your user experience. By continuing to use this site you consent to the use of cookies in accordance with our privacy policy.