Discount Settings Overview
Overview of discount configuration options in Function Studio, including discount types, quantity logic, and advanced metafield-based settings.
Discount Settings Overview
Function Studio provides powerful discount configuration options to create promotional offers for your customers. This overview introduces the key concepts and links to detailed guides for each area.
Quick Links
| Topic | Description |
|---|---|
| Basic Settings | Discount types (percentage, fixed amount, fixed price) and application strategies |
| Quantity Logic | BOGO offers, item limits, and selection order |
| Metafield Discounts | Dynamic per-product discount values from metafields |
| Cart Line Groups | Organize products for targeted discounts |
Discount Types at a Glance
| Type | Description | Example |
|---|---|---|
| Percentage | Reduce price by a percentage | 20% off summer items |
| Fixed Amount | Reduce by a specific dollar amount | $10 off each item |
| Fixed Price | Set a bundle price for multiple items | 3 for $50 |
Learn more about discount types →
Application Strategies
When multiple discounts could apply, choose how they interact:
| Strategy | Behavior |
|---|---|
| All | Apply all qualifying discounts |
| First | Apply only the first qualifying discount |
| Maximum | Apply the discount with the largest savings |
Quantity-Based Discounts
Create sophisticated offers based on quantities:
- Apply to quantity: Limit discount to first X items
- Every Nth item: BOGO-style offers (Buy 1 Get 1, Buy 2 Get 1, etc.)
- Buy X, Get Y: Cross-sell between product groups
- Item selection order: Discount cheapest or most expensive items first
Learn more about quantity logic →
Targeting with Groups
Use Cart Line Groups to apply discounts to specific products:
- Discount only sale items
- Exclude gift cards from order discounts
- Create category-specific promotions
- Build cross-sell offers between product groups
Advanced: Metafield-Based Discounts
For maximum flexibility, use metafield discounts to:
- Set individual discount values per product
- Calculate from custom base prices (wholesale, member pricing)
- Define per-product target prices
Common Examples
Simple Percentage Sale
20% off all summer items using a cart line group. Basic Settings →
Buy One Get One Free
Every 2nd item is free, cheapest item first. Quantity Logic →
Member Pricing
Per-product discounts from metafields with custom base prices. Metafield Discounts →
Cross-Sell Promotion
Buy shoes, get socks discounted using Buy X, Get Y logic. Quantity Logic →
Next Steps
- New to discounts? Start with Basic Settings
- Creating BOGO offers? See Quantity Logic
- Need per-product pricing? Check Metafield Discounts
- Targeting specific products? Learn about Cart Line Groups