Estimate within 1–2 business days →

· Every week we're late, compensated by contract· Every Google URL you rank with, redirected one by one· Store, code and logins in your name

Plus and B2B informacional

Shopify Scripts sunset: moving to Shopify Functions

Shopify Scripts stopped running on June 30, 2026. What broke in stores that didn't migrate, which Function replaces each script, and when you still need Plus.

Published Reviewed 16 min read

Contents · 11 sections
  1. When did Shopify Scripts stop working?
  2. What happened to stores that didn’t migrate?
  3. How do you find out what your Scripts did?
  4. Which Shopify Function replaces each type of Script?
  5. Native discount, public app or custom Function?
  6. Do you still need Shopify Plus now that Scripts are gone?
  7. How do you check if you lost revenue or margin after June 30?
  8. How do you rebuild a Script step by step?
  9. Are Shopify Scripts and script tags the same thing?
  10. Conclusion: audit first, then rebuild with the simplest path
  11. Frequently asked questions

Quick summary

Shopify Scripts stopped executing on June 30, 2026, and Shopify migrated none of them. Published scripts were deactivated. Each one is now replaced by a Shopify Function: Discount for price and shipping discounts, Delivery Customization for shipping rules and Payment Customization for payment methods. Many old scripts are now simple native discounts.

Key takeaways

  • Two official cutoffs: no editing or publishing after April 15, 2026, and no execution after June 30, 2026.
  • Stores that didn’t migrate kept selling without the logic. Retail prices, hidden shipping rates and hidden payment methods came back.
  • The customizations report is still in the admin under Apps › Script Editor, with source code links and a CSV export.
  • Custom apps with Functions require Shopify Plus. Public App Store apps with Functions work on any plan.
  • Keeping Plus only for Scripts logic costs $2,001 to $2,201 a month more than Advanced billed annually.
  • Script tags are a separate deprecation: Shopify stops injecting them into storefronts on March 1, 2027.

On June 30, 2026, every Shopify Script stopped running. The shopify.dev changelog of April 9, 2026 set that date, and it held. Since then, no Ruby discount, shipping rule or payment rule executes at checkout. If your Plus store relied on them, that logic vanished without an error message. Rebuilding it is part of the work of a Shopify Plus agency that leaves every Function in your name. This guide covers the timeline, the damage check and the replacement for each script type.

When did Shopify Scripts stop working?

Shopify Scripts stopped executing on June 30, 2026. Editing and publishing ended earlier, on April 15, 2026. The date is final: the Help Center now describes Scripts in the past tense.

Scripts were small programs written in a limited version of Ruby. Merchants built them in the Script Editor app, and only Shopify Plus stores could use them. They ran on Shopify’s servers each time the cart or checkout changed. The Shopify Scripts and Script Editor help page describes three types: line item, shipping and payment.

The sunset took more than three years and two extensions. Several top-ranking guides still get the sequence wrong, so here it is with each official source:

DateWhat happenedOfficial source
February 13, 2023Shopify announces the end of Scripts for August 13, 2024shopify.dev changelog
October 2023First extension: end of life moved to August 28, 2025Update note on the same entry
February 4, 2025The Scripts customizations report launches, with a June 30, 2026 migration deadlineShopify Changelog
March 12, 2026Final schedule confirmed for Plus: editing ends April 15, execution ends June 30Shopify Changelog (Plus)
April 9, 2026Developer notice with new Functions capabilities for discounts, shipping and paymentsshopify.dev changelog (API 2026-04)
April 15, 2026Scripts can no longer be edited or publishedBoth changelogs
June 30, 2026All Scripts stop executing; published scripts are deactivatedBoth changelogs and Help Center
Sources: shopify.dev, 2023 entry and update note, Shopify Changelog, 02/04/2025, Shopify Changelog, 03/12/2026 and the shopify.dev entry of 04/09/2026 · accessed 10/11/2026.

Two common errors come from that history. One guide in the US top three says the deadline moved from August 28, 2026; the real earlier date was August 28, 2025. Another gives July 1 as the cutoff in one section and June 30 in another. Use the changelog dates in your internal records.

Shopify Scripts was deprecated on June 30, 2026. Scripts still published on a store were deactivated and no longer work. Editing and publishing had ended on April 15, 2026.

Source: Shopify Help Center, Transitioning from Shopify Scripts to Shopify Functions and Shopify Changelog · accessed 10/11/2026

What happened to stores that didn’t migrate?

Their scripts were switched off and checkout kept working without them. Every discount, shipping rule and payment rule a script applied simply stopped.

No store went down. Orders kept coming in. Checkout fell back to whatever the admin settings say. The effect depends on the script type:

  • Line item scripts. They changed prices and granted discounts when the cart changed. Without them, customers pay the catalog price. A wholesale account priced 30% below retail by a script now pays retail.
  • Shipping scripts. They hid, renamed or discounted shipping rates. Without them, every rate shows with its original name and price. A free ground option for orders over $100 disappears.
  • Payment scripts. They hid, renamed or reordered gateways. Without them, every method shows again. A net-terms or invoice option meant only for approved accounts becomes visible to everyone.

There is a quieter effect on automatic discounts. The automatic discounts help page says that, with Scripts active, those discounts were calculated on prices already adjusted by scripts. With scripts gone, the base changed. A 10% automatic discount can now produce a different dollar amount than it did in June.

A missing discount raises no error. It only shows up later in margin, conversion or customer complaints. That is why we recommend comparing data before and after June 30, 2026, as described in the audit section below.

Important

Payment scripts never affected methods shown before checkout, such as PayPal Express or Apple Pay buttons. Payment Customization Functions can rename, reorder and hide wallets too. If you rebuild a payment rule, test the accelerated checkout buttons as well.

How do you find out what your Scripts did?

Open the Scripts customizations report in Apps › Script Editor and click “Replace Shopify Scripts”. It lists the scripts that were active before deprecation, links to their source code and exports to CSV.

Shopify launched the report on February 4, 2025, and generates it automatically. According to the official transition guide, it has up to three sections: Payment gateways, Shipping and Product discounts. Each script shows its name, description, source file links, recommended apps built on Functions and Function API tutorials.

  1. In the Shopify admin, go to Apps › Script Editor.
  2. Click “Replace Shopify Scripts” in the banner.
  3. In each section, open every script listed under the “Auto detected” count.
  4. Export the report to CSV and store it outside Shopify, with the Ruby source files.
  5. Mark each script as keep or drop. Promotions that ended years ago don’t need rebuilding.
  6. For each script you keep, assign an owner and a replacement path.

Save the Ruby code now. The Help Center doesn’t say how long the report will stay available. That code is the only reliable record of the business rule: thresholds, customer tags, excluded SKUs and the order of conditions.

The guide adds one technical requirement. Apps that contain Functions need Shopify App Bridge, and custom apps created in the Shopify admin don’t support it. A custom Functions app must be created in the Dev Dashboard and then connected to your store.

Which Shopify Function replaces each type of Script?

Line item discounts move to native discounts or the Discount Function. Shipping rules move to Delivery Customization. Payment rules move to Payment Customization. Price changes that aren’t discounts move to Cart Transform, on Plus only.

Shopify Functions use a different architecture. Each Function is a WebAssembly module packaged inside an app. It reads cart data through a GraphQL input query and returns operations for Shopify to apply. The Function APIs reference (version 2026-10, accessed October 11, 2026) lists seven APIs. These are the ones that matter for former Scripts:

What the script didScript typeReplacementOfficial limit or plan rule
Percentage or fixed discount by product, quantity or customer tagLine itemNative discount or Discount Function (product class)25 active automatic discounts; 25 active Discount Functions per store
Buy X get Y, gift with purchaseLine itemNative “Buy X get Y” discount or Discount Function25 active automatic discounts
Discount on the order subtotalLine itemNative order discount or Discount Function (order class)Up to 5 product or order codes per order
Change a line’s price, title or imageLine itemCart Transform with lineUpdatePlus and development stores only
Bundle or unbundle items in the cartLine itemCart Transform (linesMerge, lineExpand)One Cart Transform per app per store; rejected if a selling plan is present
Discount or waive shippingShippingNative shipping discount or Discount Function (shipping class)1 shipping code per order
Hide, rename or reorder shipping ratesShippingDelivery Customization25 active per store; can’t change rate prices
Hide, rename or reorder payment methodsPaymentPayment Customization25 active per store
Block an order that breaks a rule (max quantity, minimum order)No Script equivalentCart and Checkout Validation25 active per store; not on POS or subscriptions
Sources: shopify.dev, Function APIs 2026-10 (Discount, Cart Transform, Delivery Customization, Payment Customization, Cart and Checkout Validation), and Shopify Help Center, automatic discounts and discount combinations · accessed 10/11/2026.

Discounts

Line item discounts were the most common use of Scripts. The Discount Function API creates discounts in three classes: product, order and shipping. A single Function can reduce both the order total and the shipping cost. All Discount Functions run at the same time and don’t know about each other.

Function discounts follow the discount combination rules. Product discounts apply first, order discounts apply to the reduced subtotal, and shipping discounts apply last. Stacking several product discounts on one item works only on Shopify Plus. New discounts don’t combine by default, so set combinations on each one.

Prices that aren’t discounts

Some line item scripts changed a price without showing a discount. A personalization surcharge or a trade price list are typical cases. Today that is the lineUpdate operation of the Cart Transform API, which only Plus and development stores can use. If the price was for wholesale buyers, check native B2B first. Our guide to native B2B catalogs, price breaks and quantity rules by plan shows what works without code. Since April 2, 2026, Shopify B2B runs on every plan, with up to 3 active catalogs below Plus.

Shipping and payment

Shipping scripts did two jobs, and each now has its own replacement. The Delivery Customization API hides, renames and reorders delivery options, but it doesn’t change prices. To discount shipping, use a shipping discount, native or Function-based. Hiding rates for PO boxes only works with carrier-calculated or app rates, according to shopify.dev.

The Payment Customization API hides, renames and reorders payment methods, including gift cards and wallets such as Shop Pay, Apple Pay and Google Pay. It can also set payment terms and require review for B2B orders. Those two operations, and hiding methods at specific B2B locations, are limited to Plus.

Technical note

Functions run under fixed limits. For carts of up to 200 lines: 11 million instructions, 128 kB of input and 20 kB of output. The compiled binary can’t exceed 256 kB, and the input query is capped at 3,000 bytes with a cost of 30. Calling an external API from a Function (network access) is limited to custom apps on Plus and Enterprise stores, on request. A Ruby script that looped through large catalogs must be redesigned to fit.

Native discount, public app or custom Function?

Use a native discount if the rule fits in the admin. Use a public app if your case is common and you accept a third-party dependency. Build a custom Function if the rule is specific to your business and you are on Plus.

All three produce the same result at checkout. They differ in cost, control and who you depend on:

CriterionNative discountPublic app with FunctionsCustom Function (custom app)
Plan requiredAnyAnyShopify Plus only
What it coversAmount or percentage, Buy X get Y, free shipping; by customer, segment, market, product or collectionWhatever the app developer builtAny rule within each API’s limits
CostIncluded in your planMonthly app subscriptionDevelopment and maintenance
Who controls the codeShopifyThe app developerYour company, if the app and repository are in its name
Main riskCan’t express very specific rulesPrice changes, feature changes or the app being retiredDependence on whoever wrote it, if nothing is documented
Sources: shopify.dev, Shopify Functions (availability by plan), and Shopify Help Center, discount eligibility and requirements · accessed 10/11/2026.

The plan rule comes from the Shopify Functions documentation. Stores on any plan can use public App Store apps that contain Functions. Only Shopify Plus stores can use custom apps that contain Function APIs. Some capabilities, such as lineUpdate, are Plus-only even inside public apps.

Start with native discounts

Check the admin before writing code. A native automatic discount can now target specific customers, customer segments or markets. It can require a minimum amount or quantity and apply to chosen products or collections. Many scripts from 2019 or 2020 exist because those options didn’t. Today they are settings.

Then choose between an app and your own code

The customizations report suggests apps for each script. Before installing one, check three things: that it reproduces your exact rule, what it costs per month, and what happens to your rules if you uninstall it. A public app is fast for common cases, such as hiding cash on delivery outside the US.

A custom Function pays off when the rule is unique or combines several conditions. It also makes sense when you don’t want checkout logic tied to a vendor’s pricing. The trade-off is ownership. A custom Function lives inside an app. If that app sits in your agency’s Partner or Dev Dashboard account, your checkout depends on them. Ask for the app, the repository and the documentation in your company’s name.

Do you still need Shopify Plus now that Scripts are gone?

Only if your replacement needs it. If native discounts or public apps cover your old scripts, Scripts no longer justify Plus. If you need custom Functions, lineUpdate or B2B payment terms, Plus is still required.

Scripts were a classic reason to pay for Plus. Some US stores stayed on Plus mainly for two or three checkout rules. With Scripts retired, that reason has to be checked again against the price. On October 11, 2026, Shopify’s US pricing page listed Advanced at $299 a month billed annually. Plus costs $2,500 a month on a 1-year term or $2,300 on a 3-year term.

Plus termMonthly gap vs Advanced (annual)Yearly gapGap over the term
1-year term ($2,500)$2,201$26,412$26,412
3-year term ($2,300)$2,001$24,012$72,036
Own calculation from Shopify pricing (US) and Shopify Plus pricing (US), platform fees only, before payment processing savings · 10/11/2026.

Read that gap as the price of the Plus-only features you actually use. Say custom Functions were your only reason to stay, and you run three of them. On a 3-year term, each one costs about $667 a month in plan fees alone. Compare that with the monthly fee of a public app that does the same job, plus the risk of depending on its developer.

Scripts are rarely the only factor. Plus also lowers card rates, unlocks checkout apps in the information, shipping and payment steps, and removes the 15-staff and 3-catalog limits. The full decision, with a break-even formula by payment mix, is in our guide on whether your store still needs Plus after Scripts. Before you upgrade or renew for one feature, check what the Shopify Plus fee includes over a full contract.

How do you check if you lost revenue or margin after June 30?

Compare orders, discounts, shipping methods and payment methods for equal periods before and after June 30, 2026. Each sharp change points to a script that was never replaced.

Use the admin reports and the order export. Take two periods of the same length, for example June 1-29 and July 1-29, 2026. Then check these five indicators:

  1. Share of orders with a discount. A sudden drop usually means a lost line item script.
  2. Average discount per order for tagged customers (wholesale, VIP, employees). If it falls toward zero, those customers now pay catalog prices.
  3. Shipping method mix. A rate that had no orders before June 30 and has orders now was hidden by a script.
  4. Payment method mix by country or customer type. Cash on delivery or invoice payments where you used to hide them signal a lost payment script.
  5. Shipping revenue. If it rises without any rate change, a shipping discount stopped applying.

Match each anomaly to a row in the customizations report CSV. That tells you which script caused it and how much margin is at stake before you choose a replacement path. Wholesale accounts deserve a direct call: a buyer who paid retail for three months may expect a credit.

Each anomaly points to one script type. Lost discounts for tagged customers point to a line item script, replaced by a native discount or the Discount Function. A shipping or payment option that reappeared points to Delivery Customization or Payment Customization.

How do you rebuild a Script step by step?

Write the rule in business terms and check for a native option. Then build it in a development store, test it against real orders and publish it with a named owner.

  1. Write the rule in plain language. Example: “customers tagged wholesale get 20% off the Pro collection, not combinable with other discounts”. Take it from the Ruby code, not from memory.
  2. Check for a native version. Automatic discount, shipping discount, B2B catalog or shipping rate by zone.
  3. Choose the path and the owner. For an app: who pays for it and watches it. For a custom Function: who maintains the code and in which repository.
  4. Build in a development store. Functions can be tested locally before deployment.
  5. Replay real carts. Rebuild ten June orders that had discounts and compare totals to the cent.
  6. Set combinations. On each discount, enable the classes it must combine with.
  7. Publish and measure. Repeat the five audit indicators weekly for four weeks.

Replatforming stores face the same task from another direction. Magento cart price rules, shipping rules and payment restrictions have no import path into Shopify. Each one becomes a native discount or a Function. We cover that mapping in our guide on moving Adobe Commerce B2B to Shopify Plus.

A custom Function also needs upkeep. Shopify releases a new Function API version every quarter, and the reference listed 2026-10 as the latest on October 11, 2026. Add a quarterly review of each Function to your Shopify maintenance plan with a fixed monthly scope.

Are Shopify Scripts and script tags the same thing?

No. Script tags are JavaScript files that apps inject into the storefront, on any plan. Since October 1, 2026, apps can’t create or update them, and on March 1, 2027, Shopify stops injecting them.

The names are similar and Google shows both for the same searches. They are two separate retirements. Shopify Scripts was Ruby logic at checkout. Script tags are an API resource that apps used to load code into themes. The script tags deprecation notice of August 24, 2026 names the replacements: app embed blocks and web pixels.

This one affects stores on every plan. An old app that loads code through a script tag will stop working in March 2027 unless its developer updates it. Script tags also weigh on page speed, so the change is a good moment to audit apps. Our guide on optimizing apps without losing features covers how each app loads.

Conclusion: audit first, then rebuild with the simplest path

Shopify Scripts stopped executing on June 30, 2026, and nothing migrated on its own. If your store used them, start with the customizations report and a June-versus-July comparison. Replace each rule with the simplest path that covers it: native, public app or custom Function. Then check whether Plus still pays for itself without Scripts. Eximia Ecom rebuilds that logic at a fixed price. We leave the app, the code and the documentation in your company’s name, with 30 days of support after launch.

Frequently asked questions

Do Shopify Scripts still work?

No. Shopify Scripts stopped executing on June 30, 2026, on every store. Editing and publishing ended on April 15, 2026. Published scripts were deactivated, Shopify migrated none of them and there is no further extension. The logic now has to be rebuilt with Shopify Functions, public apps that use Functions or native discounts.

Can I still get the code of my old scripts?

Yes, through the Scripts customizations report. Go to Apps › Script Editor and click “Replace Shopify Scripts”. It shows each script that was active before June 30, 2026, with its description and source file links, and it exports to CSV. Download it now: the Help Center doesn’t say how long it will stay available.

Do I need Shopify Plus to use Shopify Functions?

Not for public App Store apps that contain Functions: they work on any plan. A custom app with your own Functions requires Shopify Plus. Some operations are Plus-only even in public apps, such as changing a line price with lineUpdate. Payment terms and B2B order review in Payment Customization are also Plus-only.

How many Functions can a store run at once?

According to shopify.dev, a store can activate up to 25 Functions each for Discount, Delivery Customization, Payment Customization and Cart and Checkout Validation. Cart Transform allows one Function per app per store. Separately, a store can have up to 25 active automatic discounts, including discounts created by apps.

What is the difference between Shopify Scripts and script tags?

Shopify Scripts was Ruby logic for cart and checkout, available only on Plus and retired on June 30, 2026. Script tags are JavaScript that apps inject into the storefront on any plan. Apps can’t create them since October 1, 2026, and Shopify stops injecting them on March 1, 2027.

David Calzada

Written by

David Calzada · Co-founder · Project lead

Cofundador de Eximia y director de proyectos en Eximia Ecom. Lleva más de 10 años trabajando con Shopify y venta online. Coordina diseño, desarrollo y SEO en cada tienda y migración del estudio. Remolque.es, ecommerce que el grupo compró en 2025, funciona hoy en Shopify tras migrar desde WooCommerce. Se formó en Dirección de Empresas Tecnológicas (La Salle) y en Negocios Digitales (TheValley).

Recommendation · Shopify agency

If you're choosing an agency, start with one that works only Shopify

At Eximia Ecom we design, build and migrate Shopify stores your team edits without code. We are part of Eximia.

Shopify store design Unlimited design revisions
Shopify development Plantilla adaptada o tema a medida
Migraciones a Shopify WooCommerce · PrestaShop · Magento · Wix · 100 % URLs redirigidas
Shopify maintenance Bonos mensuales
  • Fixed price
  • Signed delivery date with compensation for delays
  • Everything in your name
  • Zero data loss

Quote · reply within 1–2 business days

Tell us about your project

We reply within 1–2 business days.

Step 1 of 8
1What do you need?
2How long has your brand been around?
3Average monthly revenue over the last 6 months

We only use it to suggest the scope that fits your stage.

4What is your online store's URL?

If you don't have one yet, click “Not yet”.

5Any reference sites you like?

Stores, brands or pages whose design or features inspire you.

6Tell us about your project

What you sell, what you want to achieve and what worries you about the change.

Shift + Enter for a new paragraph
7What budget do you have in mind for the project?

A ballpark figure in USD. We use it to propose the right scope and give you a fixed price.

8Who should we send the estimate to?

16 min left Get a quote
Get a quote