Skip to content
Tutorials

How to Create Buy X, Get Y Offers in WooCommerce

· · 11 min read
How to Create Buy X, Get Y Offers in WooCommerce

In the realm of eCommerce, discount strategies can significantly influence customer behavior. Among the most effective is the classic “Buy X, Get Y” offer. It’s a compelling incentive that not only boosts order value but also encourages repeat purchases. When implemented correctly in WooCommerce, this promotional tactic can be a game-changer for your online store.

So, how can you craft such an offer to maximize sales while maintaining control over your inventory and profit margins? Updated August 2026 with current plugin and best-practice recommendations. In this comprehensive guide, we’ll walk you through exactly how to create Buy X, Get Y offers in WooCommerce, strategically, smoothly, and successfully.

What Are Buy X, Get Y Offers? Understanding the Basics

Buy X, Get Y offers are a form of conditional discount where customers must purchase a specific product (or quantity) to receive another product for free or at a discounted rate. Common variations include “Buy One, Get One Free” (BOGO), “Buy Two, Get One at 50% Off,” or even “Buy Product A, Get Product B Free.”

In WooCommerce, these offers aren’t built-in by default. However, with the right tools, usually a dynamic pricing plugin or custom code, you can configure them to fit your needs. Whether you’re offering complementary items, promoting slow-moving stock, or encouraging bulk purchases, this type of offer provides immense flexibility for marketers.

Moreover, these promotions can be applied storewide or limited to specific categories, users, or cart conditions. The ability to customize every detail is part of what makes learning how to create Buy X, Get Y offers in WooCommerce so powerful.

Why Use Buy X, Get Y Offers? The Strategy Behind the Offer

Buy X, Get Y offers drive customer engagement by adding an element of perceived value. Shoppers love the feeling of getting more than what they paid for. Studies show that offers involving a free product often outperform simple discounts in terms of conversion rate.

Not only do these offers improve sales, but they also help manage inventory. Have extra stock of a seasonal item? Offer it as the “Y” product. Want to increase the average order value? Make the threshold for the “X” product slightly higher than your current AOV. By mastering how to create Buy X, Get Y offers in WooCommerce, you can design promotions that serve both your marketing and operational goals.

Another key benefit is loyalty. These offers encourage customers to buy more and return frequently. In WooCommerce, you can even set conditions for returning users, allowing more advanced promotional flows that foster long-term relationships with your shoppers.

How to Create Buy X, Get Y Offers in WooCommerce: Step-by-Step Guide

Creating this type of offer in WooCommerce often requires a plugin. Fortunately, there are several robust tools available. For this tutorial, we’ll focus on using the “WooCommerce Dynamic Pricing & Discounts” plugin, a popular choice among store owners.

Step 1: Install the Plugin

First, install and activate the “WooCommerce Dynamic Pricing & Discounts” plugin. You can find it in the WooCommerce marketplace or download it from the plugin developer’s site. Once activated, navigate to the new “Pricing Rules” section in your WooCommerce admin panel.

Step 2: Create a New Pricing Rule

Click on “Add Rule.” Choose “Buy X Get Y” as the rule type. Now, define what products or categories the customer must purchase (X), and what they’ll receive (Y). You can set exact quantities, specify which product(s) qualify as “Y,” and apply percentage or fixed price discounts.

For example:
Condition: Buy 2 of Product A
Reward: Get 1 of Product B Free

Don’t forget to set usage limits and scheduling. This allows you to run short-term campaigns without manual intervention.

Step 3: Customize Display Settings

Make sure the offer is visible on the product page, cart, or checkout. The plugin usually lets you customize messaging like, “Buy 2, Get 1 Free, Add More to Your Cart!” This improves conversion by keeping customers informed.

Step 4: Test Thoroughly

Before going live, always test the rule in a staging environment. Check how it behaves when customers add products to the cart. Make sure it calculates correctly and does not conflict with other pricing rules or coupons.

By following these steps, you’ve just learned how to create Buy X, Get Y offers in WooCommerce with precision and ease.

Types of Buy X, Get Y Offers You Can Set Up

The flexibility of these offers allows you to be creative. Here are several campaign ideas you can implement:

  • Buy One, Get One Free (BOGO): This classic format is ideal for fast-moving consumer goods or promotional launches.
  • Buy Two, Get One Half Off: Encourages higher cart value while still offering a sense of savings.
  • Buy Product X, Get Product Y Free: Perfect for promoting accessories or related products.

Each variation supports a different business goal. If your objective is to increase brand loyalty, use these offers as a reward for returning customers. If your goal is to move excess inventory, tie the “Y” product to those items.

Knowing how to create Buy X, Get Y offers in WooCommerce means you can tailor promotions for each sales season, event, or product lifecycle stage.

A Real-World Example: Buy X, Get Y in Action

A specialty coffee roaster running WooCommerce wanted to move slower-selling single-origin bags without discounting their bestselling blend directly. They set up a rule through WooCommerce Dynamic Pricing & Discounts: buy any two bags of their flagship blend, get one bag of a rotating single-origin selection free. The flagship blend kept its full price and margin, while the free item rotated weekly based on which single-origin lot needed to move before its roast date aged out.

Over a six-week test, units per transaction on the flagship blend rose from an average of 1.3 to 2.1, and the single-origin inventory that had been sitting for months cleared out almost entirely. Customer feedback was also unexpectedly positive: several buyers mentioned discovering a new favorite origin they wouldn’t have purchased on its own, which turned a clearance mechanic into a soft product discovery tool. The lesson generalizes well beyond coffee: pairing a strong, well-known product with a genuine discovery opportunity tends to outperform a flat discount on either item alone.

Best Plugins for Buy X, Get Y Offers in WooCommerce

Several plugins can help you create these powerful offers. Here’s a curated list with features:

  • WooCommerce Dynamic Pricing & Discounts: Best for detailed rules and multiple conditions.
  • Discount Rules for WooCommerce by Flycart: Offers a beginner-friendly interface and visual rule builder.
  • Advanced Coupons for WooCommerce: Great if you want coupon-code-based BOGO deals.

While WooCommerce doesn’t natively support these promotions, these plugins provide user-friendly solutions. Choose the one that aligns with your business size, needs, and technical expertise.

Learning how to create Buy X, Get Y offers in WooCommerce with the right plugin can drastically reduce setup time and ensure your campaigns run smoothly.

When to Run a Buy X, Get Y Campaign

Timing shapes results as much as the offer mechanics themselves. New product launches benefit from pairing the new item as the reward, since it exposes existing customers to something they might not have otherwise noticed. End-of-season clearance windows are a natural fit for the reverse: use a proven bestseller as the “X” and clear seasonal stock as the “Y,” since shoppers are already primed to buy the bestseller at full price and the free item removes your carrying cost on inventory that’s about to lose relevance.

Avoid running the same Buy X, Get Y structure indefinitely on the same products. Once shoppers learn that Product A always comes bundled with a free Product B, they stop perceiving it as a promotion and start treating it as the baseline price, which erodes the psychological lift the offer was designed to create in the first place.

Buy X, Get Y vs. Bundle Pricing: Picking the Right Mechanic

A related but distinct promotional structure is the fixed bundle, where you package two or more products together at a set combined price rather than triggering a reward based on cart contents. The difference matters more than it first appears. A Buy X, Get Y rule stays flexible: any customer who happens to meet the condition gets the reward, even if they never intended to trigger the promotion. A bundle is a deliberate, pre-packaged offer that the customer chooses to buy as a single unit, usually through a dedicated bundle product page.

Bundles work best when you want to control the exact combination and messaging (a “starter kit” or “complete set”), since you’re creating a specific product listing rather than a background cart rule. Buy X, Get Y rules work best when you want the incentive to apply automatically across a wider set of products without building a dedicated listing for every combination. If you’re debating between the two, ask whether the combination is something you’d want to market as its own product (bundle) or whether it’s a background incentive layered on top of your existing catalog (Buy X, Get Y). WooCommerce Product Bundles, the official Woo extension, handles the fixed-bundle side if that turns out to be the better fit.

Marketing Tips to Boost Your Offer’s Effectiveness

Creating an offer is only half the battle. Promoting it effectively is just as important. Add banners to your homepage, use pop-ups, and send out an email blast to your subscribers. Highlight the value of the deal and make the terms crystal clear.

Additionally, leverage urgency by adding countdown timers or limiting quantities. This encourages faster decision-making and prevents procrastination. Use phrases like “Only this week!” or “Limited to the first 50 customers.”

Social proof also helps. Share customer reviews or photos of others enjoying their free items. This builds trust and increases conversion rates. If you’ve mastered how to create Buy X, Get Y offers in WooCommerce, go the extra mile by marketing them creatively.

Advanced Tactics: Cart Conditions and User Segmentation

Want to go beyond simple deals? Use cart conditions and user roles for deeper customization. For instance, offer “Buy 3, Get 1 Free” only to logged-in users or restrict it to certain customer groups like wholesale buyers.

You can even create tiered offers:

  • Buy 2, get 1 free
  • Buy 4, get 2 free

Using advanced conditions ensures you only give discounts when they align with your business goals. Plugins like “Discount Rules for WooCommerce” often support such segmentation and rule layering.

By learning how to create Buy X, Get Y offers in WooCommerce with these advanced conditions, you position your store to respond to customer behaviors in real-time.

Measuring Whether Your Buy X, Get Y Campaign Actually Worked

Launching the offer is the easy part, knowing whether it actually moved the needle requires a before-and-after comparison. Pull your average order value and units-per-transaction for the two weeks before the promotion started, then compare against the promotion window. If units per transaction rose but average order value stayed flat or dropped, you’re likely giving away more margin than the extra volume justifies, especially if the “Y” product wasn’t genuinely excess inventory.

WooCommerce Analytics (built into WooCommerce core under Analytics > Products) lets you filter order data by date range and product, which is usually enough to spot the trend without needing a separate reporting tool. For a more granular view that isolates orders where the promotion actually triggered, Metorik or the reporting dashboard built into your dynamic pricing plugin will typically tag which orders redeemed the specific rule, giving you a cleaner read on incremental revenue versus baseline sales that would have happened anyway.

Tax and Inventory Bookkeeping for the “Free” Item

The same accounting question that comes up with BOGO deals applies here: how is the free “Y” item treated for sales tax and inventory purposes? In most configurations, the plugin adds the Y product to the cart as its own line item priced at $0.00 rather than folding its value into a blanket cart discount. This matters because most U.S. states calculate sales tax based on the amount actually charged, so a correctly configured rule usually results in tax being applied only to the paid “X” items, not the free “Y” item. Test a sample order in staging and compare the tax line against what your accountant expects before launching, since a misconfigured discount type (percentage-off-cart instead of a dedicated free-item line) can quietly overcharge or undercharge tax on every order that redeems the promotion.

On the inventory side, confirm your plugin decrements stock for the free item just as it would for a paid one. It’s a common oversight: some looser implementations mark the free item as “added” in the cart display but never actually reduce the underlying stock count, which leads to inventory reports that don’t match physical counts within a few weeks of running the promotion.

Troubleshooting Common Issues

Even the best campaigns can run into snags. If your Buy X, Get Y rule isn’t applying, double-check:

  • Are your product IDs or SKUs set correctly?
  • Are there conflicting rules or coupons?
  • Does the customer meet the exact quantity requirement?

Always ensure your WooCommerce and plugin versions are up-to-date. Conflicts often arise from outdated code or theme incompatibility. Having a staging site for testing is essential before deploying live campaigns.

Understanding how to create Buy X, Get Y offers in WooCommerce also means knowing how to fix issues quickly to avoid losing sales.

Reign Theme

Frequently Asked Questions

Does WooCommerce support Buy X, Get Y offers natively?

No. WooCommerce’s default coupon system doesn’t support conditional product rewards. You’ll need a plugin like WooCommerce Dynamic Pricing & Discounts, Discount Rules by Flycart, or Advanced Coupons to configure Buy X, Get Y rules.

Can I apply a Buy X, Get Y offer to specific product categories?

Yes. Most dynamic pricing plugins let you scope offers to specific categories, tags, or individual products. This is useful for running promotions on seasonal items or slow-moving inventory without affecting your entire catalog.

What if my Buy X, Get Y rule conflicts with a coupon code?

Plugin rule conflicts are common. Check your plugin’s settings for “coupon stacking” options and test combinations in a staging environment before going live. Most plugins include priority settings to control which discount applies first.

How do I decide the right quantity threshold for the “X” side of the offer?

Look at your current average units per order for the product in question. Set the threshold one unit above that baseline so the offer genuinely lifts volume rather than just rewarding purchases that would have happened anyway. If customers already buy an average of 2 units, a “buy 3” threshold pushes real incremental behavior; a “buy 1” threshold gives away margin on business you already had.

Can a customer combine a Buy X, Get Y offer with a coupon code?

It depends entirely on how your plugin handles rule priority and stacking. Some dynamic pricing plugins let store owners toggle whether automatic rules stack with manually entered coupons, others process them independently by default, which can create unintended double discounts. Always test the exact combination your customers are likely to try (in this case, a coupon plus the automatic Buy X Get Y rule) before the promotion goes live, since this is one of the most frequently reported support issues across WooCommerce discount plugins.

Closing Remarks: Making Every Offer Count

Buy X, Get Y offers are among the most persuasive tools in the WooCommerce store owner’s arsenal. When implemented with the right strategy and tools, they not only increase average order value but also enhance customer satisfaction and retention.

Now that you’ve learned how to create Buy X, Get Y offers in WooCommerce, you’re equipped to roll out high-impact promotions that convert. Choose the right plugin, test thoroughly, and market effectively to maximize results.

This isn’t just a discount. It’s a strategy, one that turns browsers into buyers and buyers into loyal fans. Track the numbers, refine the thresholds, and let the data tell you which combinations actually earn their keep in your catalog.

Interesting Reads:

How to Offer a Free Gift with Purchase in WooCommerce

How to Add a Buy Now Button in WooCommerce

How to Add Recently Viewed Products in WooCommerce