Published 2026-12-04
Does checkout extensibility migration help with discount strategy? What the evidence and practitioners say
Discounts were the deepest cut in the migration
Of everything checkout.liquid and Shopify Scripts used to do, discount logic was the part stores depended on most: tiered pricing, conditional gifts, BOGO rules, member pricing, all written as scripts that ran inside checkout. Scripts are retired, and Functions are the replacement. A discount Function receives the cart and returns discount operations, and unlike a script it is an installed, configured piece of an app rather than code pasted into a settings page. The migration forced every script-based discount rule to be rebuilt, bought as an app, or dropped.
That forcing is why this topic, alone among the six, has a real answer that is not mostly no. The migration genuinely changed what discount strategies are possible and what they cost to run.
What Functions made better
Combinations. Under the old model, automatic discounts fought each other and scripts fought everything. The current model lets product, order and shipping discounts coexist by class, and multiple Function-based discounts can run together where the store allows it. Strategies that used to need fragile script logic, a tiered product discount alongside a free shipping threshold alongside a loyalty code, are now configuration more often than code. Functions also execute on Shopify's infrastructure with tight performance budgets, so a complex rule no longer taxes checkout speed the way a heavy script could.
Portability improved too. A Function lives in an app, so the same discount logic can be installed, versioned and removed cleanly, instead of existing as one merchant's uncommented script that nobody dares edit. Agencies that lived through the script era describe this, accurately, as growing up.
What was lost, and what it costs
The loss is the long tail of weird. Scripts let a store encode any rule a programmer could imagine, including rules no app author would bother productising: pricing that depends on three metafields and the weather in the customer's county. Functions cover the common space well and the exotic space patchily, and the exotic stores paid real money to rebuild or learned to live simpler. There is also a plan reality: building custom Functions for checkout has historically centred on Plus, and stores below it rely on what app developers ship.
The other cost is audit. When discounts misbehave now, the cause sits inside an app's configuration and code, further from the merchant's view than a script they could at least read. Discount strategy became more powerful and less transparent in the same move, which is why the stores that handle it best keep a written register of every active discount rule and its owner.
Verdict
Yes, this one helps, with conditions. The migration modernised discount mechanics: better combinations, better performance, cleaner management, at the price of exotic flexibility and some visibility. A discount strategy written for the script era should be re-underwritten rule by rule, because several of its workarounds are now unnecessary and a few of its tricks are now impossible.
Related reading on this site: Checkout extensibility migration: what it is, how it works, and where it falls short, How to choose checkout extensibility migration: the checks that matter before you commit, and Common checkout extensibility migration mistakes that waste money or cause problems. Each covers a neighbouring decision, and together they give the fuller picture.
Frequently asked questions
What replaced Shopify Scripts for discounts?
Shopify Functions. A discount Function takes the cart as input and returns discount operations. Logic now lives inside apps that merchants install and configure, instead of code pasted into checkout settings.
Can more discounts combine under the new model?
Yes. Product, order and shipping discounts coexist by class, and multiple Function-based discounts can run together where the store enables combinations. That is a genuine expansion over the script era's behaviour.
What discount tricks did the migration kill?
The exotic long tail: highly custom script logic no app has productised, and any rule that depended on editing checkout directly. Stores with unusual rules paid to rebuild them as custom Functions or simplified the strategy.
Is discount behaviour easier to audit now?
Mixed. Management is cleaner, but the logic sits inside apps rather than in a script the merchant could read. Keep a register of active discount rules, owners and combination settings to recover the visibility.