> ## Documentation Index
> Fetch the complete documentation index at: https://aiodapp.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Buy X @ Fixed Price (Discount)

> Template for selling a required quantity of selected items for one combined fixed price in AIOD.

Use **Buy X @ Fixed Price (Discount)** when a merchant wants a required quantity of selected items to sell for one combined fixed final price.

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 @ Fixed Price (Discount)** 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: "Set a fixed bundle price for selected items eg: Buy 3 at \$99."

## When to use this template

Use this template for:

* Buy any 3 selected items for `$99`.
* Buy 2 selected products for one fixed combined price.
* Mix-and-match a required quantity from a selected collection.
* Fixed-price bundles where the customer can choose eligible items.

Use another BOGO template when the offer discounts separate Y items or adds gift items.

## Related BOGO templates

The **Buy X Get Y (BOGO)** parent opens three inner templates:

| Inner template                     | Use it for                                                               |
| ---------------------------------- | ------------------------------------------------------------------------ |
| **Buy X Get Y (Discount)**         | Discount selected Y items after the cart contains qualifying X items.    |
| **Buy X @ Fixed Price (Discount)** | Sell a required quantity of selected items for one combined fixed price. |
| **Buy X Get Y (Gift)**             | Add or offer gift variants after qualifying X items are in the cart.     |

## Top-level controls

The form includes:

* **Use Custom Rule Builder**.
* **Discount ID (For your reference)** with placeholder `eg: GET 20% OFF`.
* **Automatic discount** and **Discount code** methods.
* **Title** and **Keep same as identifier** for automatic discounts.

### Status mode

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

| Status       | Meaning                                                                                |
| ------------ | -------------------------------------------------------------------------------------- |
| **Live**     | The discount is active for customers.                                                  |
| **Testing**  | The discount is visible to the merchant for testing, but it is not live for customers. |
| **Deactive** | The discount is turned off.                                                            |

## Select items

The **Select items** section defines which items qualify for the fixed combined price.

AIOD describes this section as: "Choose items on which the customer will get the fixed price."

Target options:

| Target option                                          |
| ------------------------------------------------------ |
| **Apply Discount to Specific Collection**              |
| **Apply Discount to Specific Product**                 |
| **Apply Discount to Specific Variant**                 |
| **Apply Discount to Specific Variant whose Metafield** |

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 the combo**.
* Helper text: customers must add this specific quantity of items to the cart for the discount to apply.
* **Discount Type** is locked to **Fixed Final Price (Combined)**.
* Helper text: final price of all above selected items combined.
* **Discount Value**.

## Customer eligibility rules

Click **Add Rule** in **Customer Eligibility Rules (Optional)** to add customer eligibility rules.

Use this when the fixed-price bundle 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**

Both were checked by default in the observed form. When **POS** is enabled, **All locations** opens the location selector.

## 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**](/docs/app/common-template-settings#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**

Enable **Set end date** to reveal end date and time fields.

## Advanced settings

Click **Show** in **Advanced Settings (Optional)** to reveal **Discount Rules & Limits**.

Available controls:

| Setting                                                                                     | Behavior                                                                                                               |
| ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| **Maximum Discount Amount**                                                                 | Limits the total discount amount.                                                                                      |
| **Apply discount on the LEAST expensive items**                                             | Applies the fixed-price calculation to the least expensive eligible items.                                             |
| **Multiply based on condition**                                                             | Scales the offer. AIOD gives this example: buy 2 get 1, buy 4 get 2. This was checked by default in the observed form. |
| **Exclude already discounted items from discount (whose compare at price > selling price)** | Excludes already discounted items based on compare-at price.                                                           |
| **Purchase Type Eligibility**                                                               | Choose **One-time purchase**, **Subscription**, or **Both**. **Both** was selected by default.                         |
| **Limit the number of subscription cycles the discount will apply to**                      | Limits recurring subscription discount cycles.                                                                         |

## Show discounted price crossout

Read [**Show Discounted Price Crossout**](/docs/app/common-template-settings#show-discounted-price-crossout) for the shared storefront strikethrough pricing controls and placement steps.

## Save

Click **Save** after configuring the selected items, combo quantity, fixed combined price, eligibility, channels, combinations, dates, advanced limits, and **Show Discounted Price Crossout** when applicable.
