When to use this template
Use this template for:- Buy X, get Y at a percentage discount.
- Buy X, get Y at a fixed discount.
- Buy X, get Y at a fixed final price.
- Mix-and-match offers where qualifying X items and discounted Y items are different.
- BOGO discounts that need storefront widget messaging.
Related BOGO templates
The Buy X Get Y (BOGO) parent opens three inner templates:Form layout
The Buy X Get Y (Discount) form has two tabs:- Offer
- Widget
Status mode
The top-right status dropdown controls who can use or see the discount.Discount method
The Discount Method section supports:- Automatic discount
- Discount code
Select items (BX)
The Select items (BX) section defines what the customer must buy. 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.
- How many items in X to unlock the Y discount? quantity input. The default shown is
1. - Add ‘BX’ item to add another qualifying X group.
Select items (GY)
The Select items (GY) section defines which items receive the discount. AIOD describes this section as: “Choose items on which the customer will get the discount.” Target options:
The default observed target was Apply Discount to Specific Collection, with Select collections and empty state No collections selected.
Other controls:
- Number of items in Y to be discounted.
- Helper text: customers must add this specific quantity of Y items to the cart for the discount to apply.
- Discount Type: Percentage, Fixed Discount, or Fixed Final Price.
- Discount Value.
Customer eligibility rules
Click Add Rule in Customer Eligibility Rules (Optional) to add customer eligibility rules for the offer. Use this when the discount should only apply to selected customer groups or customer conditions.Sales channel
The Sales channel section controls where the discount applies. Available channels:- Online store
- POS
Customer segment
The Customer Segment section restricts the discount to selected Shopify customer segments. AIOD describes this section as: “This discount will be only applicable for customers in the selected segments.”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 discount starts and ends. Default fields:- Start Date
- Start Time
Advanced settings
Click Show in Advanced Settings (Optional) to reveal Discount Rules & Limits. Available controls:Show discounted price crossout
Read Show Discounted Price Crossout for the shared storefront strikethrough pricing controls and placement steps.Widget tab
Use Widget to configure the storefront BXGY widget for this discount. Default text fields:
Click View Available Variables to see variables that can be inserted into widget text.
Style controls include:
- Product layout: Horizontal or Vertical.
- Products visible at a time slider. The observed value was
3. - Show icon in CTA button.
- CTA button icon.
- Show currency prefix.
- Do not show discounted price.
- Show sold out products.
- Background, border, title, and button color inputs.
- Border radius slider.
- Text-size sliders for title, subtitle, and button text.

