Skip to main content
9 apps $14.99/moSee package
Blog/How to Create a Buy X Get Y Offer on Shopify
How to Create a Buy X Get Y Offer on Shopify

How to Create a Buy X Get Y Offer on Shopify (2026)

D
Davis Paipa

You can create a Buy X Get Y offer natively in Shopify: go to Discounts in your admin, click Create discount, choose Buy X get Y, define the qualifying products or collections, define what the customer gets and at what discount, and save it as an automatic discount so it applies without a code. The native rule handles the math; if you also want the offer advertised on the product page with a 1-click add of the Y item, add a bundle app on top.

📷 Image placeholderSuggested: a header image for “How to Create a Buy X Get Y Offer on Shopify (2026)”

Buy X Get Y is the workhorse behind BOGO, "buy 2 get 1 free", and gift-with-purchase promotions, and it is one of the few offer mechanics Shopify supports natively on every plan.

TLDR: Key Takeaways

📷 Image placeholderSuggested: a screenshot or diagram illustrating “TLDR: Key Takeaways”
  1. Native setup takes about 5 minutes under Discounts, works on every plan, and supports free or percentage-discounted Y items.
  2. Choose automatic discount over code: automatic applies in cart with zero effort, and effort is where BOGO offers die.
  3. The native rule is invisible on the storefront. Shoppers only discover it in the cart. An app layer makes the offer visible at the decision point and adds the Y product in 1 click.
  4. Margin rule: "buy 2 get 1 at 50 percent off" usually beats "buy 1 get 1 free" because it moves 3 units while giving away half as much margin per promotion.

What Is a Buy X Get Y Offer?

📷 Image placeholderSuggested: a screenshot or diagram illustrating “What Is a Buy X Get Y Offer?”

Buy X Get Y is a conditional discount: when the cart contains a qualifying quantity or value of X, the customer receives Y free or discounted. BOGO (buy one get one free) is the special case where X and Y are the same product at quantity 1 and the discount is 100 percent. The mechanic works because the shopper earns the deal through an action you wanted anyway: buying more units or reaching a spend threshold.

How Do You Create a Buy X Get Y Discount Natively in Shopify?

📷 Image placeholderSuggested: a screenshot or diagram illustrating “How Do You Create a Buy X Get Y Discount Natively in Shopify?”
  1. In Shopify admin, open Discounts.
  2. Click Create discount and select Buy X get Y.
  3. Choose Automatic discount rather than discount code, so it applies in cart with no entry step.
  4. In Customer buys, set the condition: minimum quantity of items or minimum purchase amount, and pick the qualifying products or collections (your X).
  5. In Customer gets, pick the Y products or collection and the quantity.
  6. Set the discount on Y: free, or a percentage such as 50 percent.
  7. Optionally cap uses per order so a 12-item cart does not earn 4 free items unless you want it to.
  8. Set active dates and save.

The discount now applies automatically the moment the cart satisfies the condition. Test it with a real cart before announcing anything.

What Are the Limits of the Native Buy X Get Y Discount?

📷 Image placeholderSuggested: a screenshot or diagram illustrating “What Are the Limits of the Native Buy X Get Y Discount?”

Three limits matter in practice. First, invisibility: nothing on the product page announces the offer, so unless your marketing carries it, most shoppers discover it by accident or never. Second, no auto-add: even when the condition is met, the customer must find and add the Y product themselves before the discount can apply to it; a free gift nobody adds is a promotion nobody receives. Third, no analytics beyond basic discount reports: you see usage counts, not offer-level revenue impact or acceptance rates.

When Should You Use an App for Buy X Get Y Instead?

📷 Image placeholderSuggested: a screenshot or diagram illustrating “When Should You Use an App for Buy X Get Y Instead?”

Use an app when the offer needs to sell itself on the storefront. A bundle app renders the offer where the decision happens: a "buy 2, get the third 50 percent off" tier block on the product page, or a cart popup that fires when the shopper qualifies and adds the Y item in 1 click. Libautech Bundles & Upsell builds these as theme app blocks with the discount applied automatically, no code entry, and revenue tracked per offer, alongside its bundles, frequently bought together, and quantity break offers. It carries the Built for Shopify badge and includes a 7-day free trial.

A clean division of labor: run the native rule as the pricing backstop, and let the app do the merchandising, so the offer is both visible and honored everywhere.

Which Buy X Get Y Structures Work Best?

📷 Image placeholderSuggested: a screenshot or diagram illustrating “Which Buy X Get Y Structures Work Best?”
StructureExampleWhen it works
Classic BOGOBuy 1 get 1 freeClearing inventory, high-margin consumables
Buy 2 get 1 discountedBuy 2, third at 50 percent offDefault choice: moves 3 units, protects margin
Gift with purchaseSpend 75, get a free miniBeauty and food, where sampling drives reorders
Cross-productBuy the razor, get blades 50 percent offAnchoring a consumable refill habit

Structure the offer around the behavior you want repeated. A gift with purchase that samples your future bestseller is a customer acquisition tool wearing a discount costume.

Frequently Asked Questions

📷 Image placeholderSuggested: a screenshot or diagram illustrating “Frequently Asked Questions”

How do I create a buy X get Y bundle on Shopify without an app? Use Discounts, then Create discount, then Buy X get Y, define the qualifying X products, the Y products and their discount, and save as an automatic discount. It works on every Shopify plan; the tradeoff is that nothing on the product page promotes the offer.

Does the free item get added to the cart automatically? Not with the native discount. The customer must add the Y product themselves before the discount applies. Apps solve this with a qualifying popup or a 1-click add, which is the main practical reason to layer an app on top.

Should Buy X Get Y be a discount code or automatic? Automatic, in almost every case. Codes add an entry step and fail silently when mistyped. Reserve codes for offers you want to gate to a specific audience, such as an email list.

Can I run Buy X Get Y and other discounts at the same time? Yes, subject to your discount combination settings in Shopify. Decide explicitly whether the BOGO combines with order discounts and shipping discounts, and test the stack with a real cart, because unintended stacking is the classic BFCM margin leak.

Is buy one get one free better than a percentage discount? BOGO usually outperforms an equivalent percentage on response, because "free" reads stronger than "50 percent off 2", even though the math is identical. But "buy 2 get 1 at 50 percent" often wins on profit: test both against margin per order, not just redemption counts.

Running more than one Libautech app? Get 5 of them for a flat $14.99/mo.
See the package