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.

TopicDescription
Basic SettingsDiscount types (percentage, fixed amount, fixed price) and application strategies
Quantity LogicBOGO offers, item limits, and selection order
Metafield DiscountsDynamic per-product discount values from metafields
Cart Line GroupsOrganize products for targeted discounts

Discount Types at a Glance

TypeDescriptionExample
PercentageReduce price by a percentage20% off summer items
Fixed AmountReduce by a specific dollar amount$10 off each item
Fixed PriceSet a bundle price for multiple items3 for $50

Learn more about discount types →


Application Strategies

When multiple discounts could apply, choose how they interact:

StrategyBehavior
AllApply all qualifying discounts
FirstApply only the first qualifying discount
MaximumApply the discount with the largest savings

Learn more about strategies →


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

  1. New to discounts? Start with Basic Settings
  2. Creating BOGO offers? See Quantity Logic
  3. Need per-product pricing? Check Metafield Discounts
  4. Targeting specific products? Learn about Cart Line Groups