All posts
Shopify App Development

Shopify Scripts Are Deprecated: How to Migrate to Shopify Functions (Complete Guide)

Shopify Scripts and checkout.liquid stop executing on June 30, 2026 — permanently, with no grace period. This complete guide covers exactly what's affected, how to audit your Scripts, the three migration paths to Shopify Functions, and a step-by-step cutover plan to keep your discount, shipping, and payment logic working.

AD Digitech Engineering · Shopify App TeamJune 27, 20264 min read
Infographic comparing Shopify Scripts (deprecated June 30, 2026 — limited extensibility, performance impact, not future-proof) with Shopify Functions (better performance, highly extensible, secure, built for scale), plus a five-step migration flow: assess, plan, develop, migrate, optimize

The short version: Shopify Scripts and checkout.liquid stop executing on June 30, 2026 — permanently, with no grace period and no rollback. If your store runs discount, shipping, or payment Scripts, they must be rebuilt as Shopify Functions or that logic simply breaks at checkout. This is the complete migration guide.

We build and migrate Shopify checkout logic, so this is the exact process we run with clients. If you're reading this close to the deadline, skip to "If you're out of time" at the end first.

The deadline — and the one that already passed

Two dates matter:

  • June 30, 2026 — the hard cutoff. All Shopify Scripts (and checkout.liquid) stop running. Shopify has confirmed this won't be extended again. No grace period, no rollback.
  • April 15, 2026 — the editing freeze (already in effect). Since this date you can no longer create, edit, or publish Scripts. Existing Scripts keep running until June 30 — but if one has a bug, you can't fix it.

So the migration isn't optional and the clock isn't theoretical. Anything still on Scripts after June 30 reverts to default behavior.

What's affected

Shopify Scripts powered three kinds of checkout logic, all of which are at risk:

  • Line-item Scripts — custom and combined discounts, tiered/volume pricing, BOGO, cart-based promotions.
  • Shipping Scripts — hiding, renaming, reordering, or re-rating delivery options.
  • Payment Scripts — hiding, renaming, or reordering payment methods.

Plus the older checkout.liquid customization, which is sunset on the same date. If you're on a customized checkout.liquid, you're migrating to Checkout Extensibility regardless.

What replaces them: Shopify Functions

Shopify Functions are the official replacement. They're small pieces of custom logic (written in Rust or JavaScript, compiled to WebAssembly) that run natively on Shopify's infrastructure — faster than Scripts, with no external server, and friendly to the Built for Shopify performance bar. They cover discounts, delivery and payment customization, and cart/checkout validation, and are delivered as app extensions. (For the deeper "when is a Function the right tool vs. a full app" decision, see Shopify Functions vs Apps.)

Step 1 — Audit your Scripts (use the built-in report)

Don't guess what you're running. Shopify gives you the exact list:

  1. In your Shopify admin, go to Apps → Script Editor.
  2. In the "Replace your Shopify Scripts" banner, click Replace Shopify Scripts.

The Scripts customizations report lists every active Script, what each one does, and links to recommended replacement apps or Function API tutorials. That report is your migration checklist — export it and work through it line by line.

Step 2 — Choose a path for each Script

There are three ways to recreate each Script. Pick per use case:

Migration pathBest for
No-code Functions-powered appCommon cases — most discount, shipping, and payment rules have an off-the-shelf app. Fastest, no build.
Native Shopify featureBasic rules Shopify now handles natively (e.g., simple automatic discounts).
Custom Shopify FunctionB2B/customer-specific pricing, ERP-driven logic, multi-condition discounts, bespoke shipping/payment rules — anything off-the-shelf can't do.

Mapping by Script type:

  • Discount Scripts → discount Functions (or a discount app). Available on all plans.
  • Shipping Scripts → delivery customization Functions (Plus).
  • Payment Scripts → payment customization Functions (Plus).

Step 3 — Build and test on a development store

Rebuild the logic, then validate it before touching production:

  • Recreate each rule as a Function (or configure the app) on a dev store.
  • Test every edge case the Script covered — combinations, thresholds, exclusions, B2B vs DTC, edge quantities.
  • Heads-up: a Script and a Function targeting the same checkout logic can conflict if both are live. Don't leave them running in parallel longer than a quick verification.

Step 4 — Cut over to production, then monitor

  • Deploy the Function to production.
  • Disable the corresponding Script immediately once the Function is verified (to avoid the conflict above).
  • Monitor checkout closely for the first days — discounts applying correctly, shipping/payment options behaving, no abandoned-cart spike.

The timeline reality

A focused migration of 5–15 scripts realistically takes 8–14 weeks — scoping, development, QA on a dev store, and a monitored cutover. That's the honest number, and it's why "we'll deal with it later" has run out of road.

If you're out of time

With the deadline days away, an 8–14 week project isn't an option — so triage:

  1. Cover what you can with no-code Functions-powered apps now — this keeps the bulk of your discount/shipping/payment logic working past June 30.
  2. Prioritise revenue-critical logic — whatever directly affects what customers pay or which options they see.
  3. Rebuild the complex, custom rules as Functions right after, on a proper timeline, replacing the stopgap apps where needed.

The one thing you cannot do is nothing — after June 30 there's no Script to fall back on.

We run Scripts-to-Functions migrations end to end — audit, custom Functions, and the production cutover — and we move fast when a deadline is involved. See our Shopify app development and Shopify store development work, or talk to us before June 30.

Frequently asked questions

When are Shopify Scripts deprecated?

Shopify Scripts and checkout.liquid stop executing permanently on June 30, 2026 — a hard cutoff with no grace period and no rollback. An earlier deadline has already passed: since April 15, 2026 you can no longer create, edit, or publish Scripts, so you can't even patch a broken one. Existing published Scripts keep running only until June 30.

What replaces Shopify Scripts?

Shopify Functions, often alongside Checkout Extensibility. Functions are small pieces of custom logic (discounts, shipping/delivery customization, payment customization, cart and checkout validation) that run natively on Shopify's infrastructure — faster than Scripts and with no external server. They're delivered as app extensions, either via a no-code Functions-powered app or a custom build.

How do I see which Scripts I need to migrate?

Use the built-in report: in your Shopify admin go to Apps > Script Editor, and in the 'Replace your Shopify Scripts' banner click 'Replace Shopify Scripts'. It lists every active Script, what each does, and links to recommended replacement apps or Function API tutorials — your migration checklist in one place.

Do Shopify Functions require Shopify Plus?

Not all. Discount Functions (product, order, and shipping discounts) work on every plan. Delivery and payment customization Functions, and checkout UI extensions, require Shopify Plus as part of Checkout Extensibility. So basic discount logic is open to all stores; deeper checkout customization is a Plus capability.

What happens if I don't migrate by June 30, 2026?

Any logic still running on Scripts simply stops on that date — discount combinations, tiered/volume pricing, shipping rules, and payment-method customizations all revert to default. There's no rollback, and since editing has been frozen since April 15, you can't fix Scripts in place. The result is broken or incorrect checkout behavior until the logic is rebuilt as Functions.

How long does a Scripts-to-Functions migration take?

A focused migration of 5–15 scripts typically runs 8–14 weeks end to end — scoping, development, QA on a development store, and a monitored production cutover. With the deadline imminent, the fastest way to stay live is to cover what you can with no-code Functions-powered apps now, then rebuild the complex, custom logic as Functions.

Have a project in mind?

Building something on Shopify?

We design, build, and maintain Shopify apps, stores, and AI products — to the standard this article describes.

Related reading

Shopify App Development 4 min

Shopify Checkout Components Explained: What Merchants Need to Know in 2026

Checkout Components — Shopify's Checkout UI Extensions — are the modern, supported way to customize checkout: sandboxed React-style components that add banners, custom fields, and upsells without touching checkout.liquid. Here's what they are, what you can build, why the new model is safer, and what's available on your plan in 2026.

Read article
Shopify App Development 5 min

Shopify Functions vs Traditional Apps: Which Solution Is Right for Your Store?

Shopify Functions run custom logic natively on Shopify's infrastructure; traditional apps run on external servers with full flexibility. Here's a practitioner's guide to which to use, when to combine them, and why the June 30, 2026 Scripts sunset makes the decision urgent.

Read article
Shopify App Development 5 min

How to Get Built for Shopify Certified: A Practitioner's Guide (From a Team That's Done It Twice)

What the Built for Shopify badge actually requires in 2026 — the performance, design, and integration bars — and the step-by-step path to earning and keeping it, from a team with two certified apps.

Read article
Shopify Store Development 5 min

How to Increase Shopify AOV Using Post-Purchase Upsells

Post-purchase upsells lift AOV by 10–20% — but only if you get the offer right. The pricing ratio, the relevance rule, and the one-offer principle decide whether you land 14% acceptance or under 3%. Here's the tactical playbook, with the benchmarks to measure yourself against.

Read article
Shopify Store Development 5 min

Shopify Thank You Page: How to Turn It Into a Revenue Channel

The thank you page is the second-most-viewed page in your store after the homepage — and most stores leave it completely empty. Post-purchase offers convert at 8–15%, five to ten times better than pre-purchase upsells, because the payment is already done. Here's how to turn that page into real revenue in 2026.

Read article
Shopify Store Development 5 min

Shopify Collections Are Changing: What Merchants Need to Know in 2026

Shopify is overhauling collections in 2026 — the rigid 'smart vs custom' split is gone, replaced by a flexible Collection Sources model where one collection can combine automated conditions, manual picks, exclusions, other collections, and app sources. Add variant-level targeting and native AI merchandising, and here's what merchants (and their developers) need to know.

Read article
AI 4 min

How AI Shopping Agents Compare Products on Shopify Stores

When a shopper asks an AI for the best product, the agent doesn't browse like a human — it reads structured product data across dozens of stores and compares them head-to-head on attributes, value, price, and reviews, then picks winners. Here's exactly how that comparison works, the signals it weighs, and how to make your Shopify products win the shortlist.

Read article
Shopify Store Development 5 min

Shopify B2B in 2026: Is Shopify Ready for Serious Wholesale Businesses?

Shopify B2B had a big 2026: native wholesale features are no longer Plus-only, and Winter '26 closed much of the gap with dedicated B2B platforms. So is Shopify ready for serious wholesale? For most brands, yes — here's what you get, where the real scale line sits, and the honest limitations to know before you commit.

Read article
Shopify Store Development 5 min

Shopify Horizon Theme: Should Merchants Upgrade in 2026?

Horizon is Shopify's new flagship theme — nested blocks, global blocks, AI block generation, and a far better editor. But is it worth migrating your existing store in 2026? Here's what Horizon does better than Dawn, where it still trails on mobile performance, why the move is a rebuild not a swap, and a clear decision framework.

Read article