Discount Application Strategy

Understanding discount application strategy

The discount application strategy determines which discount should apply to the items in the cart if more than one discount is applicable to the item(s) in the cart.


Video walkthrough with examples for discount application strategy


Types of Discount Application Strategies:

Type
Description

First

Only apply the first discount with conditions that are satisfied. E.g. If three discounts are eligible, only the first one in the list will be applied.

All

Apply all discounts with conditions that are satisfied. This does not override discount combination or stacking rules. E.g. If three discounts are eligible, all three will be applied to the cart.

Maximum

Only apply the discount that offers the maximum reduction. E.g. If three discounts are eligible, the one that gives the highest savings will be applied.

Discount application strategy is only applicable if your function has more than one discount that evaluates to TRUE for a line item / cart.

If multiple product discounts in the rule builder evaluate to true for a single line item, only the first discount is applied, regardless of the discount application strategy. This means even if you set the strategy to "All," only one product discount can be applied per line item.

Why This Matters:

  • First Strategy: Use this if you want to ensure the order of discount is always applied in ascending order based on how you have set it up in the rule builder.

  • All Strategy: Use this if you want to allow multiple discounts to apply to the items in user's cart.

    • If the line is eligible for more than one of the discounts configured then the first discount is applied by Shopify, in this case

  • Maximum Strategy: Use this if you want to give the customer the highest possible discount when multiple discounts are available.

Last updated