

On 30 June 2026 Shopify switched off every Script still running on a Plus store. There was no grace period and no fallback. Tiered discounts, hidden shipping rates and payment rules that had not been rebuilt simply stopped applying.
Two stores that came to us in July show both ends of what that looks like. A UK homeware brand noticed within hours, because its "free gift over £100" promotion vanished from checkout on the first morning and customers started emailing to ask where the gift was. A Spanish fashion store took six weeks. A Script used to hide cash on delivery for orders outside mainland Spain, and nobody missed it until a run of refused parcels came back from the Canary Islands. The first problem cost a morning. The second cost return shipping on every one of those orders.
My team builds and maintains Shopify Plus stores at Teplin, so I come at this from the scoping and testing side. This article is a walkthrough in the order I would run it. It starts with recovering what your Scripts actually did, then maps each rule to the right Shopify Functions API, covers the plan restrictions and technical limits that cause most production bugs, deals with the visual and tracking pieces that are easy to forget, and ends with the testing routine we use. If your Scripts were migrated before the deadline, the same steps work as an audit of what was rebuilt. Plan rules and limits below are as of October 2026.
Shopify Scripts were small Ruby programs, available only on Shopify Plus, that ran on Shopify's servers during cart and checkout. Merchants used them for three jobs. Line item Scripts changed prices for discounts, bundles and gifts. Shipping Scripts hid, renamed, reordered or discounted rates. Payment Scripts hid or reordered gateways.
Shopify confirmed the final timeline in its developer changelog. From 15 April 2026, merchants could no longer edit or publish Scripts. On 30 June 2026, all Shopify Scripts stopped executing. Shopify's Help Center confirms that Scripts still published at that point were deactivated and no longer work.

The replacement is Shopify Functions, part of the checkout extensibility platform that also replaced checkout.liquid. If you went through the checkout.liquid upgrade on Plus (the deadline for the Information, Shipping and Payment pages was 13 August 2024), the end of Scripts is the second half of the same project. Shopify wants every checkout customisation to run through apps, extensions and functions that it can keep upgrade-safe and fast.
Scripts were powerful but awkward to manage. They were written in a restricted Ruby dialect inside a browser editor, had no version control, and could only be tested by publishing them or using the Script Editor preview. Functions are compiled to WebAssembly, deployed inside apps with the Shopify CLI, kept in Git like any other code, and configured by merchants in the admin. Shopify's Help Center states that functions execute in under 5 milliseconds, which matters at peak trading, when a slow Script could hold up checkout.
Distribution is the other big shift. A Script lived on one store. A function lives inside an app, so a developer can build a discount type once and any merchant can install it. That is why so many common Script use cases are now covered by off-the-shelf apps, and why the first question on every rule should be whether an app already does it.
Shopify generates a Scripts customisations report in the admin, under Apps, then Script Editor, then the Replace Shopify Scripts banner. It groups Scripts into Payment gateways, Shipping and Product discounts, lists each Script's name, description and source files, and suggests apps or Functions tutorials. It can be exported as a CSV. If nobody exported it before 30 June, do it now, before people's memory of the old rules fades any further.
Then I turn every Script into something a non-developer can sign off. Save the Ruby source of every Script, including ones you think were unused, because comments in old code often reveal business rules nobody remembers agreeing to. Write each rule as one plain-English sentence, for example "Wholesale-tagged customers get 30% off all products except the Gift Card collection, and the discount does not combine with codes". That sentence becomes the acceptance test later. Finally, name an owner and a value for each rule. Rules nobody can explain are candidates for retirement rather than rebuilding.
If the Scripts have already stopped and you are working backwards, use whatever evidence you still have. Old order exports show which discounts were applied and at what values. Support tickets from July 2026 onwards often point straight at a rule that disappeared. Screenshots of the old checkout, if anyone kept them, show which shipping rates and payment methods used to appear for which customers. For the Spanish store above, the order export from May and June was enough to rebuild five of its six rules. The sixth only surfaced through the refused parcels.
Line item Scripts become Discount Functions or Cart Transform Functions. Shipping Scripts become Delivery Customization Functions, with the Discount Function API handling any shipping discounts. Payment Scripts become Payment Customization Functions. Logic that Scripts could only fake now has its own Cart and Checkout Validation API. The detail below is based on the current Function APIs reference on shopify.dev.

The Discount Function API covers tiered discounts, buy X get Y, spend thresholds, customer-tag pricing and VIP discounts. One discount function can now apply product, order and shipping discounts together, using product, order and delivery discount candidate targets. The older Product Discount and Order Discount Function APIs are labelled legacy in the documentation, and their delivery group input is always empty, so any new build that touches shipping discounts should use the unified API.
The Cart Transform API covers bundle logic and price overrides. It can merge several lines into one bundle line (linesMerge), expand a bundle into its components (lineExpand), or update a line's price, title or image (lineUpdate). One restriction is worth knowing early. Shopify's reference states that only development stores or stores on Shopify Plus can use apps with lineUpdate operations, and each app can install at most one cart transform function per store.
A store can have at most 25 active discount functions. They all run at the same time and know nothing about each other, so stacking is controlled by the combination settings on each discount. In a single Script, code order decided that. This is the change that catches the most teams out.
The Delivery Customization API covers Scripts that hid, renamed or reordered shipping rates, such as hiding express delivery for heavy items or adding a message to a rate name. Up to 25 delivery customisation functions can be active per store. Delivery customisation does not change prices, though. If a Script reduced shipping costs, for example free express shipping for VIPs, that logic moves to a discount function using the delivery discount target. Local pickup and pickup point delivery option generators let apps create pickup options and charges. Some were marked unstable in the API reference at the time of writing, so check their status before depending on them.
The Payment Customization API covers Scripts that hid, renamed or reordered payment gateways, such as hiding cash on delivery above a cart value or for certain countries. Up to 25 payment customisation functions can be active per store. The same API can do things Scripts never could: set payment terms (fixed, net or event-based, with optional deposits) and add a review requirement so B2B orders are submitted as drafts for approval.
Nordik Recovery, the Canadian ice bath brand, runs on Shopify Plus. Its checkout rules were built on Functions from the start, so it makes a clean reference for how the mapping turns out in practice. These were the four rules and where each one ended up:
Two custom functions in one app, one App Store app and one native discount. That split is typical of what I see. The custom app took about 45 hours, and more than half of that was testing rather than code.
If a Script did something common, such as tiered pricing, gift with purchase, a free shipping threshold or hiding a gateway by country, I look for an App Store app first. Volume discounts, bundles, BOGO and hiding payment or shipping methods by country, cart total or product tag are all well covered. Public apps that contain functions work on any Shopify plan, so non-Plus stores can now get Script-like logic for the first time, and good apps expose their settings in the admin, so the marketing team can change a threshold without a developer.

Most simple Scripts belong in an app. Only a small number of business-critical rules justify custom code. Nobody wins anything for rebuilding a free shipping banner from scratch.
Custom code pays for itself in four situations:
One practical detail trips up a lot of teams. Shopify's migration guide notes that Functions-based apps require App Bridge, which custom apps created directly in the Shopify admin do not support. Custom function apps therefore have to be built through the Dev Dashboard and the Shopify CLI, then connected to the store. Building those is the kind of work our custom apps and integrations team does.
Every Shopify plan can use public App Store apps that contain functions. Only Shopify Plus stores can use custom apps that contain Function APIs. Some individual capabilities are restricted to Plus as well, and the API reference flags these per API. The cart transform lineUpdate operation is the one I run into most.
Network access is a further tier. A function can fetch data from an external service, such as live pricing from an ERP, only through a fetch target, and as of October 2026 Shopify's reference limits that to custom apps installed on Enterprise stores. Network access is not available on development stores, and functions that use it do not run on draft orders.
If you are wondering whether Plus is justified for this alone, our breakdown of whether Shopify Plus is worth $2,300 a month goes through the full bill. For many brands, a couple of public apps on a standard plan do the job.
Functions run in a strict sandbox, and in our projects the limits are behind most production bugs. Shopify's documentation sets these numbers:
The instruction limit is where JavaScript functions most often fail. A function that loops over every line, then every discount tier, then every customer tag can blow through the budget on a large B2B cart while working perfectly on a three-item test cart. We saw exactly that this year on a tiered wholesale pricing function for a trade client: it passed every test with ten lines and failed on the first real order of 180 lines. Trimming the input query to the fields it used and replacing the nested loops with a single lookup brought it back to about a third of the budget. The Shopify CLI reports instruction counts and input size for each run, so this can be measured instead of guessed.

Coverage is not universal, which is easy to miss if your Scripts only ever ran in online checkout. The Discount Function API is supported in cart, checkout, POS, admin and storefront, partially supported on draft orders, order edits and subscriptions, and not supported on the Create Order API, pre-orders or Try Before You Buy. Validation functions run on checkout, cart, B2B and draft orders, but not on POS, order edits or subscriptions.

Subscriptions deserve their own check. A discount function does not re-run when recurring orders are created, and Shopify's reference notes that shipping discounts from the original order default to 100% on recurring orders. Most of the subscription stores we build, including THRSTY, Ovrload, Quantum Padel and ORCA, sell the same product as a one-time purchase and as a subscription with its own saving, which is exactly where discount rules collide.
Quantum Padel is the example I use. In launch week a 10% automatic launch discount was set to apply to both one-time and subscription purchases, so the first subscription orders took the launch discount on top of the 15% subscription saving. We spotted it in the order export on day three, about 40 orders in, and limited the launch discount to one-time purchases. No function was involved, which is the point: the combination settings decide stacking now, and they need testing on subscription carts as much as on one-time ones.
Functions change the logic. Checkout UI extensions change what customers see. If a Script came with checkout.liquid edits, such as a banner explaining a discount or a gift selector, that visible part now needs a checkout UI extension.
Checkout UI extensions come in three forms. Block extensions are placed by merchants in the checkout editor. Static extensions render in fixed positions, for example after the cart line items. Runnable extensions have no UI and respond to events such as address entry. Extensions on the Information, Shipping and Payment steps are available only to Shopify Plus stores, while apps that customise the Thank you and Order status pages work on Basic and above.
Typical Plus uses include upsell blocks in checkout, delivery date pickers, gift message fields, trust badges, loyalty point balances and B2B purchase order fields. The Checkout Branding API, which controls fonts, colours and layout beyond the standard editor, is Plus-only too. For the UK homeware brand from the introduction, the gift itself came back through an App Store app in a day, but the "choose your gift" block took a small checkout UI extension.
A true one-click post-purchase upsell, where the customer adds an item after paying without re-entering card details, uses Shopify's post-purchase checkout extension. According to shopify.dev, post-purchase extensions are still in beta. They work without restriction on development stores, but live stores must request access.
The payment limits matter for forecasting. The post-purchase page does not appear when customers pay with wallets or instalment providers such as Apple Pay, Google Pay, Amazon Pay, Klarna or Affirm, or when the original purchase used a gift card or a non-card payment method. Gateways that need the card security code to be retained are not supported either. If many of your customers use express wallets, the realistic upsell audience is smaller than your order count. Pre-purchase offers in checkout (Plus only) and offers on the Thank you page are the usual alternatives.
Tracking that used to sit in "Additional scripts" or script tags on the Thank you page now belongs in Customer Events, as app pixels or custom pixels built on the Web Pixels API. Shopify's Help Center states that from 28 August 2025 the additional scripts section in checkout settings became view-only, and that 26 August 2026 was the deadline for non-Plus stores to upgrade their Thank you and Order status pages.
Custom pixels run in a sandbox and subscribe to standard events such as page_viewed, product_viewed, product_added_to_cart, checkout_started, payment_info_submitted and checkout_completed. This is how I handle it:
Test in a development store or a duplicated staging environment first, then on the live store with the function or app active but limited to test conditions. Because Scripts no longer run, there is no side-by-side comparison in production any more. Your plain-English rules and any screenshots of old behaviour are now the reference.
Every rule gets its own test matrix: a list of carts that should trigger it and carts that should not, each with an expected result and a column for what actually happened. On the Nordik functions, the matrix for the two freight rules alone had 14 rows. These are the dimensions we cover:

After launch, check function run logs in the Partner or Dev Dashboard and watch discount usage and average order value for the first two weeks. One habit I insist on in our Shopify Plus development projects is automated unit tests for each function's input and output JSON. Shopify's function templates support this, and it means a future change to one discount tier cannot quietly break another rule.
Before closing the project, update the documentation. Record which app or function now owns each rule, with the plain-English description beside it, so the next person does not have to repeat this audit from scratch.
No. Shopify stopped Scripts from being edited or published on 15 April 2026, and all Scripts stopped running on 30 June 2026. Any Script logic that was not rebuilt with Shopify Functions or an app is no longer applied at checkout.
Yes, through public apps from the Shopify App Store that contain functions, which work on any plan. Custom apps containing Function APIs and specific capabilities such as the cart transform lineUpdate operation are restricted to Shopify Plus, and network access to custom apps on Enterprise stores, as of October 2026.
Replacing a few simple Scripts with App Store apps takes a few days, including testing. A custom function app with several rules takes longer: the four Nordik rules above took about 45 hours, and a complex B2B pricing setup can run to several weeks. On every project we have done, the audit and the testing took longer than the coding.
The end of Scripts is a good excuse to clear out years of layered checkout rules, and most stores come out with fewer customisations that are easier to change and test. If you have your Scripts customisations report, send it to us through the contact page. We will tell you which rules an off-the-shelf app can cover, which need a custom function, and which you can simply retire.

.webp)

