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 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
AI 5 min

How Shopify Knowledge Base Helps AI Recommend Your Products

AI assistants only recommend products they understand and can answer questions about. Shopify's Knowledge Base feeds your brand context — policies, FAQs, and brand voice — directly to AI, so agents represent you accurately and recommend you instead of a competitor. Here's how it works, why it matters, and what to put in it.

Read article
Shopify Store Development 5 min

Why Shopify Stores Lose Sales Despite Growing Traffic

Traffic is up but sales aren't following? The problem is almost never traffic — it's the conversion gap. Here are the real reasons Shopify stores leak sales despite growing visits — speed, product pages, mobile, checkout, trust, traffic quality, and search — and how to diagnose and fix each.

Read article
AI 6 min

How Shopify Brands Can Get Recommended by ChatGPT, Claude & AI Search Engines

ChatGPT, Claude, and Perplexity now recommend products directly to shoppers. Here's how Shopify brands earn those recommendations — a practical 2026 guide to Generative Engine Optimization (GEO): the signals AI models trust, what to fix on-site and off-site, and how to measure your AI visibility.

Read article
AI 7 min

Agentic Commerce on Shopify: How to Get Your Store Ready for AI Shopping Agents (2026)

Shopify's Spring '26 Edition makes your products buyable inside ChatGPT, Microsoft Copilot, and Google AI Mode. Here's what agentic commerce actually means for merchants — and a practical, no-hype checklist to get your Shopify store ready for AI shopping agents in 2026.

Read article
Shopify Store Development 5 min

Shopify Plus vs Shopify: When the Upgrade Pays Off (2026)

A practitioner's guide to choosing between standard Shopify and Shopify Plus in 2026 — real pricing, the Plus-only features that actually matter, and the specific signals that mean it's time to upgrade (and when it isn't).

Read article