Need DiscountApplicationStrategy: ALL

Topic summary

Developers are requesting a new DiscountApplicationStrategy: ALL option for Shopify Functions to enable multiple discounts to be applied simultaneously across different cart line items.

Core Issue:

  • Current limitation: Functions can return multiple discounts internally, but the existing DiscountApplicationStrategy doesn’t allow all of them to be applied at once
  • Use case example: Volume discounts where different products in the cart qualify for different discount tiers (e.g., Product 1 gets 10% at Tier 1, Product 2 gets 30% at Tier 3)

Current Workarounds:

  • Some teams are deploying 2 separate functions to handle 2 simultaneous discounts, though this isn’t ideal
  • Developers note there’s already a per-function setting for combining with other product discounts, but not for applying all discounts from a single function

Status:

  • Multiple users confirm experiencing the same limitation
  • A GitHub discussion thread exists where users can upvote the feature request
  • No official Shopify response or timeline mentioned
  • Developers emphasize this capability is needed to match functionality previously available in Script Editor
Summarized with AI on November 15. AI used: claude-sonnet-4-5-20250929.

A function can return multiple discounts. Need ALL of them to be applied, not just one: https://shopify.dev/api/functions/reference/product-discounts/graphql/common-objects/discountapplicationstrategy

Use case: Volume discount, included in examples.

1st cart line product can meet Tier 1, needs to get a 10% discount

2nd cart line (another product) can meet Tier 3, needs to get a 30% discount

There’s already a setting per “function discount” which says if (all) the discounts provided by this function combinesWith other product discounts

https://shopify.dev/api/admin-graphql/2022-07/mutations/discountAutomaticAppCreate

so the DiscountApplicationStrategy is useless. The function can manage it’s own internals and return one or more discounts.

8 Likes

Hi Shopify,

any chance that strategy ALL will be added soon?

Best,
Greg

2 Likes

Hi @Greg_P_1 @markus12 we are getting the same limitation, have you got any solution or work-around this one?

Thanks

Abdul

Well, as we need only 2 discounts at the same time we decided to use 2 separated functions, but it’s not something which make us happy :wink: Strategy ALL would be the best solution.

1 Like

We need this also. Has Shopify support responded?

Hi @nbfusion , please look here https://github.com/Shopify/function-examples/discussions/194 and upvote :wink: It’s not a good news but better than nothing.

1 Like

This is also an issue for us. We need to be able to apply different discount amounts on different line items. This should be based on the line item, not the variant ID. We need the same capabilities that the Script Editor currently has.

Hey @markus12 ,

Are you using two order discount shopify functions or one order discount and one product discount shopify function to apply multiple discounts?