Buy X Get Y
Follow this guide to set up your first Buy X Get Y campaign and see your sales grow.
Buy X Get Y (BXGY) is promotional strategy that rewards customers with a free item or special discount once they meet certain purchase conditions, such as buying specific products or reaching a spending threshold.
With the AOV.ai Free Gift app, you can easily create and manage BXGY campaigns that convert, no coding required!
Step 1: Select the campaign
From the app homepage, click Create Campaign, then choose Create Campaign on Buy X Get Y (BXGY).

Step 2: Define what customers need to buy (X)
Next, decide the X for the BXGY campaign, what customers must buy to qualify for the gift.

- Quantity: Set how many items the customer needs to purchase to qualify.
- Any items from: Choose whether the qualifying items come from specific product(s) or a specific collection(s).
- Purchase type: Filter which purchases count toward the trigger based on how the customer buys. This option is only available when Specific products is selected.
| Option | Description |
|---|---|
| One-time purchase | Only regular, one-off purchases count. Subscription orders are excluded. |
| Subscription | Only items purchased via a subscription selling plan count. |
| Both | Both one-time and subscription purchases count toward the trigger. (Default) |
Step 3: Set the gift (Y)
Customer gets: Choose the gift(s) that you want to reward your customers. It could be a product in your store, such as a hat or a shirt, or many products.

3.1 A/B Testing (Optional)
You can enable A/B testing to compare two gift options (Option A and Option B). When enabled it, you will have to set up 2 gift options, the app will randomly show one of the two options to different customers (customers will only get gifts from Option A or Option B). This helps you find out which gift performs better.

3.2 BOGO
- If you enable BOGO, the gift will automatically match the items the customer buys
- This is useful when you want to offer a duplicate item as a gift, for example, "Buy 2 mugs, get 1 mug free."

3.3 Gift Limit
Set the maximum number of gifts each customer can receive from your available gift list (Y list).
- Multiply gift limit (of the Gift Limit): Enable this option to let customers multiply their gift reward based on how much they buy. Find out more

- Example: You create a campaign with 2 products (X) and 3 gift products (Y). Then you turn Gift Limit on and set the value to 1, customers can choose only 1 gift from the 3 available options in the Y list. When you also enable Multiply Gift Limit, the number of gifts increases based on how many trigger products (X) the customer buys. Like buy 4 trigger products → Get 2 gifts, buy 6 trigger products → Get 3 gifts, and so on.
Step 4: Configure discount
Discount type: Decide on which type of discount you want to apply for the gift. There are three options that you can take into consideration: Free/ Percentage/ Fixed amount
The system auto-apply a discount code to your free gift. Therefore, you can edit this code as you like
When the A/B test is enabled, you are able to set different discount types for each option.

Step 5: Advanced settings

5.1 Discount combination
You can let your customers combine this discount with other different types (from Shopify or other Campaigns) to let them have the best deal based on their cart. Other discounts you can choose to combine are: Product discount, Order discount, Shipping discount
5.2 Usage limit (optional)
- Total uses: To create urgency and push customers to act, consider enabling a "Total uses" to limit how many times the gift is available overall.
- Limit to one use per customer: To avoid customers receiving too many gifts from a single discount-which can lead to a poor shopping experience and unnecessary losses-you can enable "Limit to one use per customer".
The app will detect and enforce the one-time use per customer if the customer is logged into their member account. If the customer checks out as a guest, this restriction may not apply.
5.3 Multiplying formula (optional)
Enable this option to let customers multiply their gift reward based on how much they buy.
- For example: You create a campaign with 2 trigger products (X) and 1 gift product (Y), then you turn Multiplying Formula on, when customers purchase 4, 6, 8, or more trigger products (X), they will get 2, 3, 4, or more gift product (Y).
5.4 Customer eligibility
This section lets you control who can see and redeem your BXGY campaign. You can choose to make the promotion available to everyone or limit it to specific groups.
- All customers: The campaign will apply to anyone who meets the conditions, no restrictions.
- Specific link: Only customers who click on a unique campaign link will see or access the promotion.
- Customer location: Limit the campaign to customers from specific countries or regions.
- Specific customer segment: Choose specific customer segments to exclude from this promotion. We offer 5 segment options as in this image.

The app uses existing segments from your Shopify admin. If you need to filter a custom segment, please create one in Customers > Segments in your Shopify admin.
5.5 Schedule

Set when your campaign is active. The campaign will only be shown to customers within the defined time window.
- Start date: Select the date and time when the campaign begins.
- End date (optional): Enable Set end date and pick a date and time to automatically stop the campaign.
- Countdown timer (optional): When an end date is set, you can enable a countdown timer that displays on the promotion widget to create urgency for customers.
Step 6: Set up appearance
6.1 Gift selection method
Choose the gift selection method that your customers might experience. We offer the following types of methods:

| Category | Method | Description |
|---|---|---|
| Automatically | Enable congratulation bars | Gift is automatically added to the cart. A congratulation bar appears to notify the customer. |
| Customer chooses | Floating button | A floating button appears on the page. Customer clicks it to open and choose from the gift list. |
| Pop-up | A pop-up appears for the customer to select their gift. | |
| Gift on Slide cart (cart drawer) | Customer picks the gift directly inside the Shopify cart drawer. | |
| Apply code to get gift | Apply code in cart (Horizon-compatible themes) | Customer enters the discount code in the cart to claim the gift. |
| Apply code at checkout (Shopify Plus only, free gift only) | Customer applies the code at Shopify checkout. Available on Shopify Plus stores for free gift campaigns only. |



6.2 Setting widget
The Setting widget section updates automatically based on the gift selection method you choose in 6.1. Each method exposes its own set of text fields you can customize.
Automatically, Congrats bar
When Automatically is selected, the Setting widget shows the Congrats bar configuration. You can edit the notification bar text that appears when the gift is auto-added to the cart.
- Title: The message shown in the congratulation bar (e.g., "Yay! Your cart with auto-added gifts is waiting – check now!")

Customer chooses, Pop-up
When Pop-up is selected under Customer chooses, the Setting widget shows the Pop-up configuration.
- Title: The headline of the pop-up (e.g., "Woohoo, a special surprise awaits!")
- Description: The body text shown below the title (e.g., "Your cart qualifies for special gifts. Add them now before checking out!")

Customer chooses, Floating button
When Floating button is selected, the Setting widget shows the Floating button configuration.
- Floating button: The label displayed on the floating button (e.g., "You got free gifts!")
- Title: The headline shown inside the gift selection panel (e.g., "You've unlocked a special gift!")
- Description: The supporting text inside the panel (e.g., "Select your favorite items at exclusive prices")

Customer chooses, Gift on Slide cart
When Gift on Slide cart is selected, the Setting widget shows the Gift on Slide cart configuration with fields for both the pop-up overlay and the in-cart campaign label.
- Popup title: The headline of the gift selection pop-up (e.g., "You've unlocked a special gift!")
- Popup subtitle: The supporting text below the title (e.g., "Select your favorite items at exclusive prices")
- Campaign title: The label shown on the gift reward inside the cart drawer (e.g., "Free Gifts")
- Campaign subtitle: The secondary label below the campaign title (e.g., "You've qualified for this gift")

6.3 Promotion widget
Set up the promotion widget in a targeted place in your store to capture your customers' attention for this campaign. There are 2 widgets available for the Buy X Get Y campaigns:
- Promotion card: Display promotion information and gift conditions directly on the product page. You can customize the card's Title and Subtitle to match your campaign message.
- Promotion badge: Display a badge on the product image across the homepage, collection, and product page. You can customize the Badge content text to capture customers' attention.



Once you've completed all the setup steps, take a moment to review your campaign settings to make sure everything looks correct.
Then, click Save to finalize your campaign. To make it visible on your storefront, go to Online Store > Theme > Customize > App Embeds and enable the AOV.ai Free Gift app.
Voila! By following these steps, you can create a compelling, clear, and attractive Buy X Get Y promotion to engage more customers. Happy selling!
FAQs & Troubleshooting
1. Can I create multiple BXGY campaigns at once?
Yes, you can create and run multiple BXGY campaigns simultaneously.
2. Can I limit how many times a customer can redeem a gift?
Yes. Enable "Limit to one use per customer" to prevent abuse. This is tracked only for logged-in customers.
3. Can the gift be automatically added to the cart?
Yes. If you choose "Announcement Bar" as the gift selection method, the app will auto-add the eligible gift product(s) to the cart once conditions are met.
4. Can I allow combining this discount with other discounts?
Yes, you can enable "Combinable with other discounts" to allow stacking with Shopify or other campaign discounts (e.g., shipping, order-based promotions).
5. What is the difference between Gift Limit and Multiply Gift Limit?
- Gift Limit sets a max number of gifts per order.
- Multiply Gift Limit allows the gift quantity to increase based on how many X items a customer purchases.
- I want a BXGX campaign to allow customers to receive multiple gifts at the same time
Explanation:
By default, BXGX campaigns only allow customers to receive one gift per trigger product. This means:
- Example: Campaign trigger products are A and B.
- Customer adds product A → receives Gift A.
- If the customer later adds product B, no additional gift is given.
- App limits to one gift reward in total.
Solution: If you want BXGX campaigns to allow customers to claim multiple gifts at once, please contact the Customer Support team.
Need help
- Live chat support: Get real-time help directly inside the app. Click the chat icon in the bottom-right corner of your dashboard.
- Email us: For in-depth questions or technical issues, email us at: win@avada.io Response time: within 24 hours on business days.