Shopify Scripts → Shopify Functions migration

Rebuild your retired Shopify Scripts as Functions

Rewrite your Ruby Shopify Scripts as Shopify Functions, with every discount, shipping and payment rule documented and tested against real carts.

3–6 weeks Typical timeline
0 min Planned downtime
2/5 Difficulty

Short answer

How much does a Shopify Scripts to Shopify Functions migration cost?

A Shopify Scripts to Shopify Functions migration with Shop Techs typically costs $8,000–$25,000 and takes 3–6 weeks, as of November 2026. Price depends on catalog size, customer and order history, and how many URLs need redirects. Shop Techs has 2 Shopify Scripts migration projects on record. You get a fixed quote after a free audit.

All prices Last updated: November 2026

Quick Answer

Shopify Scripts to Shopify Functions: the short answer

Shopify retired Shopify Scripts on June 30, 2026, so Plus stores need to rebuild their old line item, shipping and payment script rules as Shopify Functions. A typical migration takes 3–6 weeks and costs $8,000–$25,000. Each script is documented, rebuilt as a Function inside a custom app you own, and tested against real cart scenarios before launch.

What does a Shopify Scripts to Shopify Functions migration involve?

A Shopify Functions migration rewrites Ruby-based Shopify Scripts as Shopify Functions, which run inside an app to customise discounts, delivery options, payment methods and cart validation.

How we approach it

Shopify Scripts, the Ruby-based customizations written in the Script Editor app on Shopify Plus, powered tiered discounts, buy-one-get-one offers, shipping rate tweaks, and payment method rules for years. Shopify retired Scripts on June 30, 2026, in favor of Shopify Functions, which run inside Shopify's infrastructure, work with Checkout Extensibility, and are deployed as part of an app. Brands that relied on Scripts need that logic rebuilt as Functions, using the old Script source and order history as the reference.

Functions are not a line-by-line translation of Scripts. Scripts mutated the cart directly in sequence, while Functions receive a defined input from a GraphQL query and return operations such as discounts, hidden or renamed delivery options, payment method changes, validation errors, or cart transforms. We audit each script, document the business rule it enforces, and choose the right Function API for it. We then build, configure through metafields where merchants need control, and test against real cart scenarios so promotions and checkout behavior match what your Scripts used to do.

By Shop Techs Engineering

Data Map

What moves, and where it lands.

  • Automated
  • Rebuilt
  • Not possible
What changes when you move from Shopify Scripts to Shopify Functions
Today After How we move it Status
Line item scripts Discount FunctionsRebuilt in Rust or JavaScript Rebuilt
Shipping scripts Delivery customisation FunctionsRebuilt Rebuilt
Payment scripts Payment customisation FunctionsRebuilt Rebuilt
Tiered and bundle logic Discount and cart transform FunctionsRebuilt Rebuilt
Script Editor Custom appYour code, version-controlled Rebuilt
Discount codes Shopify discountsUnchanged Automated

Why Brands Switch

Why brands move to Shopify Functions.

  1. 01

    Retirement

    Shopify retired Scripts on June 30, 2026, and Functions replace them.

  2. 02

    Performance

    Functions run fast and at scale, including on sale days.

  3. 03

    Works with apps

    Functions combine with apps and native discounts.

Known Gotchas

What to plan for.

  • Logic audit

    Old scripts often contain undocumented rules, so we document each one first.

  • Discount stacking

    Functions follow Shopify discount combination rules, which can change how offers stack.

  • Testing

    Every rule is tested against real cart scenarios before launch.

Side By Side

Shopify Scripts vs Shopify Functions.

Compare Shopify Scripts Shopify Functions
Language Ruby in Script EditorRust or JavaScript, in an app
Scope Cart, shipping, paymentDiscounts, delivery, payment, validation, cart transforms
Version control NoYes, in your repo
Stacking Custom logicNative combination rules
Availability Plus onlyPublic apps on all plans, custom apps on Plus
Status Retired June 30, 2026Current

How It Works

How a Shopify Scripts migration runs.

  1. 01

    Audit

    Review your current setup, apps and goals, and document every rule and customisation.

    Discovery
  2. 02

    Plan

    Agree scope, architecture and success metrics in writing.

    Week 1
  3. 03

    Build

    Build on a development or staging store while your live store keeps running.

    Build
  4. 04

    Test

    Test every scenario against real orders and carts, signed off by your team.

    QA
  5. 05

    Launch

    Switch over in a planned window with a rollback ready.

    Launch
  6. 06

    Monitor

    Two weeks of monitoring for errors, conversion and tracking.

    After launch

Proof

Recent migration and replatform work.

All projects →

FAQ

Shopify Scripts to Shopify Functions, answered.

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

Typically 3–6 weeks. We agree the scope and timeline in writing before work starts.

How much does it cost to move from Shopify Scripts to Shopify Functions?

Most projects cost $8,000–$25,000. You get a fixed quote after a free audit.

Will our store go down?

No. Work happens on a development or staging store, and changes go live in a planned window with a rollback ready.

When did Shopify Scripts stop working?

Editing and publishing ended on April 15, 2026, and all Scripts stopped running on June 30, 2026. Any rule that still depended on a Script needs rebuilding as a Function.

Do Functions need a custom app?

Usually. Functions are deployed inside an app, so we build a private app for your store that you own.

Can Functions do everything Scripts did?

Almost everything, and more. Where behaviour differs, we agree an alternative with you before building.

What are Shopify Functions?

Shopify Functions let developers customize backend logic in Shopify, including discounts, delivery options, payment methods, cart validation, and cart transforms. They are written in languages that compile to WebAssembly, such as Rust or JavaScript, deployed through an app, and executed by Shopify during cart and checkout. Unlike Scripts, they work with Checkout Extensibility and are not limited to Ruby.

Can every Shopify Script be rebuilt as a Function?

Most can, although not always in the same form. Discounts, shipping rate changes, and payment method rules map well to Function APIs. Some edge cases, such as logic that depended on direct price manipulation or sequential stacking, need redesign or a native discount instead. We identify these cases during the audit and agree an approach before building.

Do Shopify Functions require Shopify Plus?

Many Function-based customizations are available on all plans when delivered through public apps, while custom apps containing Functions and certain Function APIs have historically required Shopify Plus. Because availability varies by API and changes over time, we confirm what applies to your plan and use case during planning.

How long does a Scripts to Functions migration take?

Most Scripts to Functions migrations take two to six weeks. A store with a few straightforward discount and shipping scripts can move quickly, while complex, layered promotion logic with many exclusions requires more design and parity testing. We provide a timeline after reviewing your old scripts.

Every Migration We Run

Moving from somewhere else?

Shopify Scripts → Shopify Functions

Ready for Shopify Functions?