Shopify Development11 min readJuly 2, 2026Jasmine Lovalace

Shopify Scripts Stopped Running on June 30: The Functions Migration Guide for Canadian Merchants (2026)

Shopify Scripts is fully retired. Every discount, shipping, and payment script stopped executing on June 30, 2026. If your checkout behaved differently on July 1, this is why. Here is how to audit what you lost, what replaces it, and how to rebuild without breaking checkout twice.

Short answer: Shopify retired Shopify Scripts on June 30, 2026, and every published script stopped executing on that date. There is no automatic conversion. Each rule has to be rebuilt with native discounts, a Functions-based app, or a custom Shopify Function. Start by listing every script in your Script Editor, recreate the highest-revenue rules with native features or an app today, and scope custom function builds for the logic that is genuinely unique to your business.

This deadline was announced years in advance, extended once, and confirmed final. It still caught stores off guard, because scripts are the kind of infrastructure nobody looks at while it works. A script written in 2021 to stack a loyalty discount, hide a payment method for certain provinces, or cap shipping rates on oversized items has been running silently ever since. On June 30, 2026 it stopped, and nothing in the admin throws an error. The checkout just behaves differently.

We work with Canadian manufacturers, wholesalers, and DTC brands, and the pattern is consistent: the stores most exposed are long-running Plus stores where the person who wrote the scripts is gone. This guide is the triage and rebuild sequence we use.

01. What Happened on June 30, 2026

Shopify Scripts was the Ruby-based customization tool available to Shopify Plus stores through the Script Editor app. It powered three categories of checkout logic: line item scripts (automatic discounts and price changes), shipping scripts (renaming, reordering, and repricing shipping rates), and payment scripts (hiding, reordering, and renaming payment methods).

The retirement happened in two steps, both announced in Shopify's changelog and developer documentation:

  • April 15, 2026. Merchants could no longer create, edit, or publish scripts. Existing published scripts kept running.
  • June 30, 2026. All Shopify Scripts stopped executing. The deadline had already been extended once, from August 28, 2025, and Shopify confirmed it would not move again.

The replacement is Shopify Functions. The critical operational fact: there is no automatic conversion. Shopify did not port your scripts. Logic that mattered has to be deliberately rebuilt, and until it is, your checkout runs without it.

02. How to Tell If Your Store Is Affected

If you are on Shopify Plus and your store has been live for more than a couple of years, assume you are affected until proven otherwise. The audit takes an hour:

  1. 1. Open the Script Editor app. Every script that existed is listed there, even now. This is your inventory of lost logic. Export or document each script: what it did, which customers or products it touched, and roughly how much revenue depended on it.
  2. 2. Test checkout like a customer. Run through checkout with the carts your scripts targeted: a wholesale account, a stacked-discount cart, an oversized item, an order shipping to a province with special payment rules. Compare against how it behaved in June.
  3. 3. Watch the symptoms. Automatic discounts that no longer apply, shipping rates that reappeared or repriced, payment methods showing where they were hidden, and a spike in support tickets or abandoned checkouts starting July 1 are the classic signs.
  4. 4. Check your apps too. Some older apps depended on Scripts under the hood. If a discount or shipping app instructed you to paste script code during setup years ago, that pathway is dead even though the app is still installed.

Not on Plus? You never had Scripts, and nothing broke for you on June 30. But the Functions ecosystem this migration created matters to you anyway, because it brought checkout-grade customization to standard plans for the first time. More on that below.

03. Scripts vs Functions: What Actually Changed

Functions is not Scripts with a new name. It is a different architecture with different trade-offs.

DimensionShopify Scripts (retired)Shopify Functions
AvailabilityShopify Plus onlyApp-delivered functions run on standard plans; some custom scenarios have plan requirements
LanguageRuby, edited in the Script EditorRust or JavaScript, compiled to WebAssembly
DeploymentPasted into the adminShipped inside an app (App Store or custom)
ScopeDiscounts, shipping, paymentThose three plus cart and checkout validation, order routing, and more
Who maintains itWhoever knew Ruby and had admin accessAn app vendor, or your developer through a proper deploy pipeline

The honest trade-off: Scripts let a technical merchant paste twenty lines of Ruby and ship. Functions require an app, which raises the floor for one-off tweaks but gives you version control, testing, and logic that survives staff turnover. For businesses where checkout rules encode real revenue policy, that is a better place to be. The migration cost is the price of getting there.

04. The Three Replacement Paths, in the Right Order

Most stores should not rebuild every script as a custom function. Evaluate each rule against three options, in this order:

Path 1: Native Shopify features.

Shopify's native discounts have improved enormously since most scripts were written. Combinable discounts, automatic discounts with customer segment conditions, and B2B price lists cover a large share of what line item scripts used to do. A script that gave wholesale customers 15 percent off is now a price list. A stacking rule is often just combinable discount settings. Zero code, zero apps, zero maintenance. Check this path first for every single rule.

Path 2: Functions-based apps.

The App Store now has mature apps built on Function APIs for discount logic, shipping rules, and payment customization. If your rule is common (hide COD over a threshold, rename a shipping rate by region, tiered volume discounts), a configurable app is faster and cheaper than a custom build, and the vendor maintains it as Shopify's APIs evolve.

Path 3: Custom functions.

Reserve custom development for logic that is genuinely yours: pricing driven by ERP data, complex B2B terms by account tier, freight logic tied to pallet configuration, rules that combine customer history with cart contents. This is where manufacturers and wholesalers usually land, because their checkout logic encodes trading terms no app anticipates. A custom function lives in a custom app, gets tested on a development store, and deploys like real software.

The principle:

Configuration before apps, apps before code. Every rule that moves down a path costs less to build and less to own. Custom functions are for the rules that make your business different, not for rediscovering discount stacking.

05. Scoping the Rebuild: Effort, Cost, and Timing

Plan the work in three tiers:

  • Days: rules that map to native discounts, price lists, or a configurable app. Most stores can restore the majority of lost behaviour this way in the first week.
  • Weeks: a custom function for one or two mid-complexity rules, including scoping, development, testing on a development store, and a monitored production rollout.
  • Months: a full portfolio rebuild where layered discount, shipping, and payment scripts interacted with each other. These need a staged plan, because rules that interacted in Scripts can conflict when rebuilt independently.

Two scoping mistakes to avoid. First, rebuilding scripts nobody could explain: if the inventory turns up a rule with no owner and no measurable revenue impact, retire it deliberately instead of paying to port it. Second, skipping the test store: functions execute during checkout, and a bug there costs real orders. Test against the same carts you used in the audit before anything reaches production.

06. Why This Matters for Canadian Merchants Before BFCM

The timing is the real risk. BFCM planning for Canadian stores starts in late summer, and promotion mechanics are exactly the logic Scripts used to run: stacked discounts, gift-with-purchase thresholds, shipping promotions. A store that patches July's gaps manually and defers the rebuild will hit October with untested promotion logic in the highest-revenue weeks of the year. The window to rebuild and test calmly is now, in July and August.

There is also an upside worth taking. Because Functions run on standard plans through apps, some Plus stores that were only on Plus for Scripts can now re-evaluate their plan. And for wholesalers and manufacturers, the same custom app that hosts your checkout function is a natural home for deeper B2B logic. If you are weighing that kind of scope, our guide to migration vs integration projects covers how to keep the scope honest, and the Shopify B2B features guide shows what native B2B now covers before you write code.

Zoom out and this retirement is part of a bigger platform direction: Shopify is moving all checkout customization onto governed, app-based APIs, the same foundation that powers checkout extensibility and the agent-readable storefronts we covered in our agentic commerce guide. Stores that rebuild on Functions properly are not just fixing July's breakage. They are on the architecture Shopify is building toward.

07. Frequently Asked Questions

What happened to Shopify Scripts?

Shopify retired Scripts on June 30, 2026. All published scripts stopped executing on that date, after an April 15, 2026 milestone that blocked editing or publishing. Scripts was the Ruby-based, Plus-only tool for discount, shipping, and payment customization. Shopify Functions is the replacement, and there is no automatic conversion.

Why did my Shopify discounts or shipping rates stop working in July 2026?

They were almost certainly powered by Shopify Scripts, which stopped executing on June 30, 2026. Open the Script Editor app to see which scripts your store had. Anything listed there no longer runs and needs to be rebuilt with native discounts, a Functions app, or a custom function.

What is Shopify Functions?

Shopify's framework for customizing backend checkout logic through apps. Functions compile to WebAssembly and run inside Shopify's infrastructure, covering discounts, shipping, payment customization, validation, and order routing. They ship inside an app rather than being pasted into the admin.

Do I need Shopify Plus to use Shopify Functions?

No. Functions delivered through published App Store apps run on standard plans, unlike Scripts which required Plus. Some function types and custom app scenarios carry plan requirements, so confirm the current rules on shopify.dev for your use case.

Can an app replace my Shopify Scripts without custom development?

Often yes. Native combinable discounts and B2B price lists cover much of what line item scripts did, and mature Functions-based apps handle common discount, shipping, and payment rules. Reserve custom functions for logic unique to your business, like ERP-driven pricing or complex B2B terms.

How long does a Scripts to Functions migration take?

Days for rules that map to native features or a configurable app, weeks for a scoped custom function including testing and rollout, and longer for portfolios of interacting scripts. With BFCM planning starting in late summer, July and August are the window to rebuild calmly.

What should I do first if my checkout logic broke on July 1?

Inventory every script in the Script Editor, recreate the highest-revenue rules immediately with native discounts or an app, then scope the permanent home for each rule. Test on a development store against the same carts before anything reaches production.

Did your checkout logic break on July 1?

AtlanticWorks rebuilds Scripts-era discount, shipping, and payment logic on Shopify Functions for Canadian merchants, including the audit, the native-first scoping, and the tested rollout before BFCM. The free assessment inventories what your store lost and maps each rule to the cheapest reliable home.

Start the Assessment