Skip to main content
Use Buy X Get Y (Gift) when a merchant wants buying qualifying X items to unlock gift variants. This template is inside the Buy X Get Y (BOGO) parent template. In Shopify admin, open Apps > AIOD Discount & Gift > Discount Templates, click Create on Buy X Get Y (BOGO), then choose Buy X Get Y (Gift) on the Select type page. The parent card says: “Buy one, get one or mix-and-match offers.” The parent example shown in AIOD is “Buy any 3 shirts at $99.” The inner template card says: “Add a gift item when X items are purchased.”

When to use this template

Use this template for:
  • Buy selected products and get a free gift.
  • Buy a required quantity and unlock a discounted gift.
  • Let customers claim a gift from a widget after they qualify.
  • Auto-add a gift to the cart after the cart qualifies.
Use another BOGO template when the offer discounts Y items or sells a selected quantity at one fixed combined price. The Buy X Get Y (BOGO) parent opens three inner templates:

Theme extension requirement

AIOD can show this warning: Required: Theme Extension Should Be Enabled. The warning says Activate theme extension automatically enables the Latest Widget Manager extension. The merchant must click Save in the theme editor after activation. Use this section when a merchant asks why the BOGO gift widget or gift flow is not appearing on the storefront.

Status mode

The top-right status dropdown controls who can use or see the discount.

Discount method

The observed default Discount ID placeholder was eg: WELCOME GIFT. The Discount Method section supports:
  • Automatic discount
  • Discount code
The default Automatic discount title was Free Gift. Choose Discount code when customers should enter a code to unlock the gift.

When to add the gift

The When to add the gift section defines qualifying X items. Observed default controls:
  • WHEN… item type selector. The default shown is Product.
  • Operator dropdown with matches any of, matches all of, and does not match any of.
  • Select products picker.
  • Empty state: No products selected.
  • Minimum Quantity of ANY above selected products in cart. The default shown is 1.
  • Calculate subtotal before discount.
  • AND condition.
  • OR condition.
Click Advanced Settings inside this section to reveal more qualification controls. Advanced qualification controls:

Select gift items

The Select Gift Items section chooses which variants can be added as gifts. AIOD notes that variants should be active, in stock, and have a price greater than 0. Controls:
  • Select variants.
  • Empty state: No variants selected.
  • Quantity of each gift to be added. The default shown is 1.
  • Multiply Gift Quantity based on “When” rules.
AIOD gives this example for multiplying gift quantity: buy 2 get 1 gift, buy 4 get 2 gifts, and so on.

Gift pricing

Choose how gift items are priced. Use Offer at a discounted price when the gift should be discounted instead of free.

How to add the gift

The How to add the gift section controls whether AIOD adds the gift automatically or asks the customer to claim it. When Automatic is selected, AIOD shows Allow the user to remove the gift. AIOD explains that if customers remove the gift manually, the gift cannot be added automatically again. Customers must use the widget claim button to add the gift again.

How should this discount combine with other discounts?

Read This discount can be combined with for information about this.

Active dates

The Active Dates section controls when the gift offer starts and ends. Default fields:
  • Start Date
  • Start Time
Enable Set end date to reveal end date and time fields.

Where should the widget appear?

Read Where should the widget appear? for information about this.

Widget settings

The Widget Settings section includes:
  • Use this feature Only As Widget.
  • Helper text: the discount will not be created, only the widget will be created.
  • Gift Widget Preview.
  • Customize Banner.
If no gift item is selected, the preview says to select gift items to preview the gift banner.

Gift messages settings

The Gift Messages Settings section configures popup messages shown when gifts are added to or removed from the cart. Click Go to Settings to edit those messages.