# Does checkout extensibility migration help with discount strategy? What the evidence and practitioners say

Source: https://storesetupmanual.com/blog/2026-12-04-does-checkout-extensibility-migration-help-with-discount-strategy-what-the-evidence-and.html

Reviewed December 4, 2026


Yes, and this is the pairing in the series where the connection is mechanical rather than rhetorical. Discount logic on Shopify used to live substantially in Shopify Scripts: the line-item and shipping scripts that implemented stacking rules, tiered offers, and conditional discounts at checkout. Scripts are finished, editing ended in April 2026 and execution that June, and their replacement is Shopify Functions, specifically discount Functions that run as part of the extensibility architecture. Which means migration is not merely adjacent to discount strategy. For any store with real discount logic, migration is the project in which that logic gets rewritten, line by line, whether the store planned it that way or not.

## What moved, exactly

The old world had three discount layers: the discount codes and automatic discounts configured in the admin, Scripts adding custom logic on top for stores that had them, and checkout.liquid edits shaping presentation. The new world keeps the admin layer and replaces the other two: discount Functions implement custom logic, combinations, and conditions as platform-native code, and UI extensions handle checkout presentation. A store's stacking behavior, which discounts combine, which exclude each other, which apply in what order, is now expressed in Functions and admin settings, and nowhere else. Anything not re-expressed there simply stops happening.

## Why that is a strategy event, not just a port

Legacy Scripts accumulated the way all long-lived rule systems do: a stacking exception for a 2023 partnership, a tier written for a product line since discontinued, conditions nobody remembers approving. A literal port carries the sediment into the new system. A deliberate rebuild treats migration as the discount strategy's audit: every rule must justify itself to be rewritten, combination behavior gets decided rather than inherited, and the leakage paths, codes and automatic discounts stacking in ways nobody intended, get closed while the machinery is open. Stores that waited for the deadlines and migrated under pressure ported literally. Stores that planned got the audit for free, inside a budget that already existed.

## The limits of the connection

Migration does not set discount strategy; it sets where strategy is enforced. The reference-price training problem, the calendar of promotions, the code leakage to coupon sites: those are commercial decisions that Functions will faithfully execute in either their wise or foolish form. What migration changes is fidelity. Rules expressed in Functions run exactly as written, with none of the drift and edge-case behavior of layered legacy code, so a good strategy gets enforced cleanly and a bad one gets enforced efficiently. The tool sharpens the policy. It does not choose it.

## The verdict

Verdict: yes, as the enforcement layer. If your discount strategy lives partly in checkout logic, and for most mature stores it does, extensibility migration is where that strategy is now written down, and the migration project is the cheapest discount audit you will ever be offered. The verdict's condition: the benefit only materializes if the rebuild is treated as a review rather than a port. Migrate literally and you have helped your discount strategy not at all; you have merely moved it, sediment included, to a new address.

The strategy being enforced is diagnosed in [discount strategy diagnosis](2026-12-04-discount-strategy-causes-diagnosis-and-the-fix-order-that-works.md) and [checkout UI extensions](2026-11-02-checkout-ui-extensions-on-shopify-explained.md).

## Frequently asked questions

### Where does discount logic live after migration?

In admin-configured codes and automatic discounts, plus discount Functions for custom logic, stacking, and conditions. Shopify Scripts, the old home of custom checkout discount logic, lost editing in April 2026 and stopped executing in June 2026.

### Does migration change which discounts customers get?

Only if the store lets it. A literal port reproduces legacy behavior. A deliberate rebuild re-decides stacking and combination rules as each one is rewritten, which is where unintended combinations and leakage paths get closed.

### Can Functions fix a bad discount strategy?

No. Functions enforce the strategy written into them with high fidelity. The commercial problems, promotional overuse, trained reference prices, leaked codes, are decisions. Migration sharpens enforcement of whatever decisions exist; it does not improve them.

### Why do practitioners call migration a free discount audit?

Because every legacy rule must be consciously rewritten to survive. Rules nobody can justify do not get rewritten, exceptions for dead partnerships and discontinued lines fall away, and the combination behavior gets decided explicitly instead of inherited by accident.
