Use the Buy X Get Y promotion tool to boost average order value and increase repeat purchases. With full control over product eligibility, reward types, and stacking options, this flexible discount setup helps you create compelling offers that convert.
Easily configure promotions like Buy 1 Get 1 Free, Buy 2 Get 1 at 50% Off, or Buy 3 Get 2 Free—all in just a few steps.
Start a new discount campaign
Follow the steps below to configure your Buy X Get Y campaign, from setup to code management.
1. Access the discount setup page: Go to Shoplazza admin > Discounts, click Create discount.
2. Select Buy X Get Y as your discount type: In the popup window, choose Buy X get Y to start configuring this promotion.
Set up your Buy X get Y campaign
To configure your Buy X Get Y promotion, follow these setup steps to define discount rules, eligible products, and customer targeting.
1. Enter your campaign information
Enter campaign details to define how your promotion will appear in your admin and to customers.
- Name: This is the internal name for your campaign and will appear in your admin panel.
- Display name: This is the label customers will see at checkout to identify the flash sale.
- Start and end date: Define when the promotion begins and ends. The start time must be later than the current time and follows your store’s timezone. If you'd like the sale to run indefinitely, select No end date.
-
Discount code:
- Enter a custom code, or click Generate random code to create one.
- You can also create multi-code campaigns by generating or importing up to 5,000 unique codes. Use multi-code campaigns when sending personalized codes via email, affiliate links, or influencer drops.
Note
The campaign summary on the right updates automatically based on what you enter here.
2. Configure discount rules
Define the Buy X condition
Set the purchase condition that unlocks the reward:
- Minimum quantity of items (for example, Buy 1 Get 1 Free, Buy 5 Get 2).
- Minimum spend amount (for example, Spend $100 and receive a free gift).
Note
Buy X Get Y campaigns must be tied to specific products or collections. They cannot apply to all products by default.
Define the Get Y reward
- Reward quantity: Enter how many items will be given as part of the promotion. For example, if the offer is Buy 3 Get 2, enter "2".
-
Gift item handling:
- Enabled: Customers must manually add the correct number of gift items to their cart for the discount to apply. If they don’t add enough, the discount will not trigger.
- Disabled: Shoplazza will automatically add the gift items to the cart during checkout, based on eligibility.
- Select product: Choose which products will be offered as gifts. You must assign eligible Y items to complete the setup. You can select from your existing store inventory or import products.
Example: For a Buy 2 Get 1 Free offer, select the T-shirt collection as the qualifying X products and set socks as the Y reward.
Choose the reward type
Determine how the Y reward will be discounted:
- Percentage off: Offer a partial discount on the reward item.
Example: Buy 2, get 1 at 50% off.
- Fixed amount off: Discount a set dollar amount.
Example: Buy 1, get $20 off the second item.
-
- If the item price is less than $20, the discount matches the item’s price.
- Free item: Offer the reward item at no charge.
Example: Buy 2, get 1 free.
Set usage per order
Set how often the promotion can be used per order to control usage:
- No limit: The promotion will apply repeatedly based on the quantity purchased.
Example: In a Buy 1 Get 1 Free campaign, a customer buying 4 items would receive 2 free items.
- Limit to once per order: The reward only applies once, regardless of quantity.
Example: Customer buys 4 items, but only gets 1 free item.
3. Choose eligible customers
Control who is allowed to redeem this discount:
- All customers: Open to anyone visiting your store.
- Specific customer groups: Restrict the discount to loyalty tiers, subscribers, VIP customers, or custom segments.
- Selected individuals: Choose specific customers manually. This is useful for sending personalized codes or limited-time offers.
Combine with multi-code campaigns to distribute unique codes through email, SMS, or influencer partnerships.
4. Set usage limits
- Avoid over-redemption or abuse by setting limits:
-
Single-code campaign:
- Total number of uses allowed.
- Maximum redemptions per customer.
-
Multi-code campaign:
- Set how many times each code can be used.
- Limit how many times a single customer can use their assigned code.
-
Single-code campaign:
Example: Limit each customer to 3 redemptions, with a total cap of 500 redemptions across the campaign.
5. Enable discount combinations
Enable stacking by selecting combination rules in the Combinations section.
Supported combinations:
- Product discounts: for example, 10% off specific items.
- Order discounts: for example, Spend $200, save $20.
- Shipping discounts: for example, Free shipping over $100.
To enable stacking:
- Check the boxes next to the discount types you want this campaign to work with.
- Make sure the other discount campaigns also allow stacking for the combination to apply.
- Once enabled, Shoplazza will display a list of compatible promotions. You can expand this list to review the details of each campaign. Click Save to complete your combination settings.
Learn more: See how stacking logic works in Discounts | Discount stacking and calculation rules.
Customize storefront display
Start by deciding how your discount code will display to customers across your storefront. You can configure overall display rules for all Discount Code campaigns, or customize the design for a specific promotion.
Set up overall display settings for Buy X Get Y campaigns
1. Open display settings: Go to the Discounts page and click Page settings in the top-right corner.
2. Access overall settings: Click the Overall settings tab, then select Discount code.
3. Customize the appearance:
-
Product detail page: Control how discount codes appear next to eligible products.
- Choose a layout in the Template section:
- Options include Text, Tag, Banner, or Coupon.
- Under Text settings, choose Buy X get Y and define how your message appears for different discount conditions:
- Minimum purchase amount: Use variables like {min_amount}, {offer_qty}, and {discounted_value} to create messages such as “Buy $100, get 2 items at 50% off” or “Spend $200 and get 1 for free”.
- Minimum purchase quantity and No minimum requirement messages can be edited individually.
- Use the Preview panel on the right to review how the discount code will display on the product detail page in real time.
- Select a Color scheme: Choose between Default or Custom based on your brand style.
- Choose a layout in the Template section:
-
Shopping Cart: Make discount codes easy to apply before checkout.
- Enable the Show discount code input field toggle:
- This displays a coupon input field directly on the cart page above the checkout area.
- Turn on both of the following options for better conversion:
- Automatically apply discount codes copied by customers: Detects and applies a copied code.
- Show recommended discount codes: Displays suggested codes below the coupon field.
- Select a Color scheme for the cart display:
- Choose Default for standard styling or switch to Custom for a personalized look.
- Use the Preview panel to check how the code input field and coupon recommendation area will appear in the cart.
- Enable the Show discount code input field toggle:
4. Save your changes: Click Save to apply your updates to all Discount Code campaigns.
Configure display settings for your campaign
After saving the campaign setup, configure how the discount is displayed on your store pages. This step ensures that the promotion appears correctly on the product detail page, the shopping cart page, and the activity landing page. These settings can be customized per campaign or inherit your overall display rules.
1. Open Page settings and select your campaign: Go to Discounts, then click Page settings in the upper-right corner of the screen. From the list, find the discount you just created and click into it to begin configuring the display.
2. Enable display on the product page and cart page:
- Under the Product detail page tab, turn on the switch labeled Display discount code. This ensures the promotion appears on product pages next to eligible items.
- Under the Shopping cart tab, turn on Display discount code to show the promotion directly in the cart before checkout. This reinforces the value of the discount and reminds customers of the offer.
3. Apply overall or custom display settings: If your campaign should follow the design settings defined in Overall settings, leave the Same as overall settings toggle enabled. If you want to override the display for this specific campaign, disable the toggle to unlock independent customization options.
4. Customize the activity landing page display (optional): Click into the Activity landing page tab to configure how the promotion appears on its dedicated landing page.
- Upload banners for desktop and mobile views.
- Enable a countdown timer to add urgency if the promotion is time-limited.
- Use the Discount display section to write or edit promotional text. Variable tags such as {discounted_value} and {discounted_item} will dynamically update based on your discount rules.
Configure multi-tier display layout (optional)
If your campaign offers multiple discount codes or tiers, you can customize how they appear on the product page.
- Open Discount code layout settings: Go to Discounts > Page settings > Advanced settings > Discount code card to customize how multiple discount offers appear on the Product Detail Page.
Choose one of the following layout options:
-
- Collapsed view (default):
Displays a condensed list of available discount codes. Customers can expand the list to view full details. Recommended for a cleaner interface.
-
- Expanded view:
Shows all eligible discount codes in full. The layout follows the format of the first offer in the sequence. Recommended for campaigns where visibility of all offers is important.
Publish campaign
After your campaign is fully configured, make sure it's visible to customers by adding display components to your store theme.
Note
Display components are shared across discount code campaigns. You only need to install each block once per page.
Add display cards to your theme
1. Access the theme editor: In the Product detail page tab, click the Themes - Apps section link to open the theme editor directly on the product layout. Shoplazza will automatically insert the discount block if it hasn’t been added before. From there, you can move the block as needed.
2. Publish your theme: Once everything is set, click Publish in the theme editor to push your updates live. Your promotion will now be visible on product and cart pages, helping customers clearly see their savings in real time.
Use Theme-specific features (Nova, Geek, Hero)
The following features are only available on supported theme versions.
1. Show recommended discount codes in cart: Display a section on the Shopping Cart page that suggests available discount codes.
- Supported on: Nova2023, Geek, Hero.
2. Display progress bar for order threshold: Show a progress bar in the cart that visually tracks how close a shopper is to unlocking a discount.
3. Auto-Apply clipboard discount codes: Automatically applies any discount code the shopper copied before visiting the cart.
-
Minimum theme version required:
- Nova: 3.6.12 or higher
- Geek: 3.2.7 or higher
- Hero: Latest version
Upgrade to the latest version of Nova, Geek, or Hero to access these features. To check your theme version or upgrade, go to Other Settings | Upgrading your theme.
Buy X Get Y is a flexible discount method that lets you reward customers based on quantity or spending, helping to increase average order value while keeping full control over eligibility and display settings.
Comments
Please sign in to leave a comment.