π How to setup Buy X Get Y
Want to reward customers with a different product when they buy enough of something? π
Thatβs exactly what the Buy X Get Y offer in Hoppy Bundles is designed for.
With this offer type, you can create conditional deals such as:
- π Buy 2 T-Shirts β Get a Cap at 50% OFF
- πΈ Buy 3 Sneakers β Get a pair of Socks FREE
- π Buy 2 Coffee Beans β Get a Mug at a discount
βand display them as neat, clickable tiers directly on your product page.
Customers simply pick the deal they like, add it to the cart, and the discount on the βYβ product is applied automatically at checkout β¨
π Where the Buy X Get Y Widget Appears
The Buy X Get Y widget appears on your Product Page, right below the Add to Cart button (default placement).
You can also place it anywhere else on the product page using the Custom placement option (covered later in this guide).
βΉοΈ Buy X Get Y uses the same setup screen as Quantity Break β it just opens pre-filled with Buy X Get Y tiers, the violet YAY! Itβs BOGO theme, and a βBuy X Get Yβ block title. This guide focuses only on whatβs different for Buy X Get Y; shared settings are summarized briefly.
π οΈ Example Setup Used in This Documentation
In this documentation, weβll configure the following tier structure:
- π 1 Pair β Standard Price (No Discount)
- π Buy 2 β Get 3 of another product at a discount
- π Buy 3 β Get 4 of another product at a discount
These are exactly the tiers the app pre-fills for you when you start a Buy X Get Y offer β you can edit every part of them βοΈ
β Before You Begin β Enable the App Embed
For the Buy X Get Y widget to appear on your storefront, the app embed must be enabled inside your Shopify theme.
Go to:
Shopify Admin β Sales Channels β Online Store β Themes β Customize β App Embeds
Then:
- Find Bundles App Embed
- Toggle it ON
- Click Save
β οΈ Important: Without the app embed enabled, your published offer will not be visible on the storefront β even if everything inside the app is configured correctly.
π― Step 1 β Create a New Buy X Get Y Offer
Open the Hoppy Bundles app from your Shopify Admin.
Then:
β Click Create New Offer to open the offer type selection page.
β Find the Buy X Get Y (Conditional Offer) card β βBuy a specific quantity and get another product at a discountβ β and click Create Buy X Get Y.
The setup page opens with everything pre-filled for a Buy X Get Y deal:
- π¨ Template β YAY! Itβs BOGO (violet theme)
- π° Block title β Buy X Get Y
- π Tiers β Buy X Get Y Free discount type with Buy / Get conditions ready to edit
π‘ Starting from this card saves you from building the tiers manually β but you can still change the template and every tier afterwards.
π§© Step 2 β Name Your Offer & Choose Where It Applies
The first screen asks for the basics before anything else.
π·οΈ Offer Name
This field is used for internal purposes only.
Customers will never see this name.
You can use any recognizable name such as:
- Buy 2 Get a Cap
- Sneaker + Socks Deal
- Black Friday BXGY
π‘ Using proper internal naming makes it easier to identify setups later, especially if your store runs multiple offers.
π¦ Apply Offer On
This setting controls which products act as the βXβ products β the ones customers must buy to unlock the deal.
There are 3 available options:
- All Products β the offer applies to every product in your store
- Product β the offer applies only to the products you select
- Collection β the offer applies to every product inside the collections you select
If you choose Product or Collection, a Select Product / Select Collection button appears. Click it to open your Shopify resource picker and choose one or more items.
β οΈ Important:
- Switching between All Products, Product, and Collection clears your current selection β pick the right mode first, then select your items.
- Only one published offer is allowed per product or collection. If another published offer already covers the same product, you wonβt be able to publish this one until the existing offer is converted back to a draft.
π¨ Step 3 β Confirm Your Template
Scroll down to the Select Your Preferred Offer section.
For Buy X Get Y, the YAY! Itβs BOGO template (violet, deal-themed) is already selected for you β it matches this offer type perfectly.
You can still swipe through and pick a different look if you prefer:
- Build one from scratch β start with a clean, minimal layout
- Bundle & Save β the classic green multi-tier look
- Limited Time Offer β orange, urgency-themed
- Flash Sale Madness! β pink, sale-themed
Click Apply selected template to continue.
βΉοΈ The Apply selected template button stays disabled until youβve selected at least one product or collection (when using the Product or Collection mode).
Once applied, the full setup editor opens β with a live preview of your widget on the right side of the screen π
βοΈ Step 4 β Configure Your Buy X Get Y Tiers (General Tab)
This is the heart of the setup β€οΈ
Each deal lives on its own tab (Offer 1, Offer 2, Offer 3β¦). Click a tab to edit that tier.
The pre-filled setup looks like this:
- Offer 1 β Quantity
1, Discount typeNo Discount(a standard-price baseline tier) - Offer 2 β Discount type
Buy X Get Y Free, Buy2, Get3, tagged Most Popular - Offer 3 β Discount type
Buy X Get Y Free, Buy3, Get4
Letβs go through the fields that make a Buy X Get Y tier work.
πΈ Discount Type β Buy X Get Y Free
Set the tierβs Discount type dropdown to Buy X Get Y Free.
Once selected, the regular Discount value field is replaced by two condition fields:
- Buy β how many items of the βXβ product the customer must buy. This field is locked β it always follows the tierβs Quantity value.
- Get β how many units of the βYβ product the customer receives. This field is editable β set it to whatever your deal promises.
Example
- Buy
2+ Get1β βBuy 2, Get 1β - Buy
3+ Get2β βBuy 3, Get 2β
β οΈ Please note: Switching a tierβs discount type to Buy X Get Y Free resets the Get value to 1 and clears the selected Y product β so pick the discount type first, then configure the rest.
βΉοΈ If you want customers to get more of the same product free instead of a different product, use the BOGO (Buy One Get One) discount type instead β see the dedicated BOGO guide.
π Get Product β Select Y Product
βΉοΈ This section only appears when the discount type is Buy X Get Y Free.
This is where you choose the βYβ product β the product the customer gets at a discount when they buy enough of the βXβ product.
β Click Select Y Product to open your Shopify resource picker and choose a single product.
Once selected, the product appears inside the tier with its image and title. Until then, youβll see βNo product selectedβ.
β οΈ Important: Donβt skip this step β without a Y product selected, the tier has nothing to give away. Always double-check each Buy X Get Y tier has its own Y product before publishing.
π‘ You can use a different Y product per tier β for example, a small freebie on the βBuy 2β tier and a premium one on the βBuy 3β tier.
π’ Quantity
The number of βXβ items the customer must buy to unlock this tier.
For Buy X Get Y tiers, the Buy condition automatically follows this quantity β change the quantity and the Buy value updates with it.
β οΈ Quantity must be greater than 0 β youβll see an inline error if it isnβt.
π·οΈ Offer Title, Discount Label & Tag
Each tier has three text elements you can customize:
- Offer Title β the main text on the tier, e.g. βBuy 2 Get 3β
- Discount Label β the deal text shown on the tier, e.g. βBuy 2 Get 3 at 50% OFFβ
- Tag β a small badge, e.g. βMost Popularβ
The Discount Label and Tag fields each have an eye icon ποΈ on the right side β click it to show or hide that element on the storefront.
π‘ The pre-filled tiers already come with βBuy 2 Get 3β style titles and labels β just tweak the wording to match your actual deal, so customers arenβt confused about what theyβre getting.
β Add / ποΈ Delete Tiers
Below the offer tabs youβll find:
- Add Offer β adds a new tier tab (maximum 6 tiers). New tiers start as a plain
No Discounttier β switch the discount type to Buy X Get Y Free and configure the Buy / Get / Y product yourself. - Delete β removes the currently selected tier (minimum 2 tiers required)
If you hit one of these limits, a small toast message will let you know.
π° Block Title & Footer Text
These control the text above and below the widget:
- Block Title β pre-filled with βBuy X Get Yβ β change it to something punchier like βBundle & Saveβ or βBuy More, Get More πβ
- Footer Text β e.g. βFree Shippingβ
Both fields come with an eye icon to hide them completely if you prefer a cleaner look.
π οΈ Step 5 β Configure Settings
Scroll down to the Settings card. These checkboxes work exactly like they do for Quantity Break offers β hereβs the quick version:
π Appearance and Looks
- Show unit price / Show total price β display per-unit and per-tier prices inside the offer
- Hide header and footer lines β cleaner widget without the divider lines
- Use custom text for Out of Stock β show your own message when a product is out of stock (enabling it reveals a text field)
βοΈ Functionality
- Let customers choose different variants for each item β customers can pick a different variant for every unit in the tier
- Display widget below add to cart button β renders the widget directly below your Add to Cart button
- Skip cart directly to checkout β customers go straight to checkout after adding a tier
- Show compare to price β displays the strikethrough compare-at price (enabling it reveals Custom compare price and a read-only Shopify product compare price field)
π Enable Discount Combination
- Order discounts / Shipping discounts β let this offerβs discount combine with order-level and shipping discounts at checkout
βΉοΈ Product discount combination is always on. Due to Shopify restrictions, this setting applies globally to all new offers of this type.
Below Settings youβll also find Multiple Markets (market-specific pricing) and Translation (translate widget texts). Both are optional and covered in their own dedicated guides.
π― Step 6 β Targeting & Placement (Optional)
Switch to the Targeting & Placement tab to control where the widget appears and who sees it.
- Placement β Below Add to Cart Button (Default) is recommended for most stores. Choose Custom (only on product page) if you want to position the widget yourself β after saving, the app gives you a Hoppy bundles ID and a code snippet you can place anywhere in your theme.
- Customer Targeting β show the offer only to logged-in customers, or show/hide it based on customer tags and lifetime spent
- Geolocation Targeting β limit the offer to specific countries (default: all locations)
- Scheduling β set a start and end date/time for the offer β handy for flash sales β°
βΉοΈ All of these are optional. If you skip them, the offer simply shows to everyone, everywhere, right away. Advanced targeting is covered in detail in its own dedicated guide.
π¨ Design Tab (Optional)
The Design tab controls the visual styling of the widget β fonts, text sizes, colors, variant selector sizing, and border width/radius.
π‘ Every change reflects instantly in the live preview on the right β both in the desktop and mobile preview panels.
βΉοΈ The violet BOGO theme already looks great out of the box, so this step is entirely optional. Styling is covered in depth in the dedicated design guide.
β οΈ Important Notes Before You Publish
- π Every Buy X Get Y Free tier needs its own Y product selected via Select Y Product β a tier without one has nothing to give.
- π The Buy value is locked to the tierβs Quantity β edit the quantity if you need a different Buy condition.
- π Switching a tier to Buy X Get Y Free resets Get to
1and clears the Y product β set the discount type first. - βοΈ Keep Offer Title and Discount Label in sync with your actual Buy / Get numbers, so the widget never promises something different from what the discount delivers.
- 1οΈβ£ Only one published offer is allowed per product or collection.
β Final Step β Save & Publish
Once everything looks good in the preview:
- Click Save in the save bar at the top of the page
- Click Publish to make the offer live β οΈ Please note:
- The Publish button is disabled while the offer is brand new β save first, then publish.
- Publishing creates an automatic discount in your Shopify Admin β Discounts. This is what actually applies the Y product discount at checkout β please donβt delete or edit it manually.
- If the app embed is not enabled in your theme, a banner will appear after saving with an Enable App Embed shortcut button β click it, toggle the embed on, and save your theme.
- If publishing fails because another published offer already covers the same product or collection, convert that existing offer to a draft first, then publish again.
Your Buy X Get Y offer is now live π
π Final Result
Once configured successfully:
β Customers see your Buy X Get Y tiers directly on the product page β Buying the required quantity unlocks the discounted βYβ product automatically β The discount applies at checkout β no coupon codes needed β Tiers, tags, and labels update instantly from the app
Hereβs how the finished widget looks on the storefront β clear deals, a highlighted best-value tier, and one-click selection β¨
Updated on: 31/07/2026
Thank you!