Shopify Scripts stopped working: what to check and how to move to Functions
By Ahmad Mujtaba, Shopify Select Partner · · 6 min read
Short answer
Shopify Scripts stopped running on Shopify Plus stores on June 30, 2026. Nothing shows an error: checkout still works, but the discounts, shipping rules and payment rules your scripts applied are no longer applied. List what each script did, compare recent orders with what should have happened, and rebuild each rule as a Shopify Function or replace it with an app.
What changed, with dates
- April 15, 2026: editing and publishing Shopify Scripts was turned off.
- June 30, 2026: every Shopify Script stopped running.
- Scripts were a Shopify Plus feature, so this affects Plus stores only.
Scripts came in three kinds: line item scripts that changed prices and discounts, shipping scripts that renamed, hid or discounted delivery options, and payment scripts that hid or reordered payment methods.
Why nobody noticed
When a script stops, checkout doesn't break. Orders keep arriving and nothing is logged as a failure. The cart is simply shown without the changes the script used to make.
So the problem appears later and somewhere else: a wholesale customer complains about paying full price, a shipping option you had hidden is being chosen, or a payment method you had removed for certain orders is back.
Step 1: List what your scripts used to do
If you never wrote it down, rebuild the list from evidence. For each rule, write one plain sentence, such as: customers tagged wholesale get 20% off, or express shipping is hidden for PO box addresses.
- The Script Editor app, if it is still installed, and any copy of the script code your developer kept
- Orders from before June 30: look at discounts applied without a code, renamed or missing shipping options, and payment methods used
- Promotions your team describes on the site, in emails or to wholesale customers
Step 2: Compare orders before and after June 30
Pick a few orders from each side of the date that should have been treated the same way. Check the final price, the shipping options that were offered and the payment method. Any difference you can't explain is a rule that stopped.
Three numbers make this faster across many orders: average discount per order, shipping cost charged per order, and the mix of payment methods. A sudden change in any of them at the end of June points to a script.
Step 3: Choose a replacement for each rule
- Discount rules: a discount Function, or Shopify's built-in automatic discounts if the rule is simple enough.
- Shipping rules: a delivery customization Function to rename, hide or reorder delivery options.
- Payment rules: a payment customization Function to hide, rename or reorder payment methods.
- Rules you no longer need: decide that on purpose and write it down, so nobody rebuilds them later by mistake.
Functions are delivered through an app. That can be an app from the Shopify App Store, or a custom app built for your store, which is available on Shopify Plus. An app is quicker for common rules. A custom Function fits better when the rule is specific to how you sell.
Step 4: Avoid the mistakes that make a Function do nothing
A Function can be installed correctly and still have no effect. These are the usual reasons:
- It was never switched on. A discount Function needs a discount created from it in the Shopify admin, set to active with a start date in the past. Delivery and payment customizations need to be added and enabled in the checkout settings.
- Discounts don't combine the way the script did. Check the combination settings on each discount, or one will quietly replace another.
- The Function isn't given the data it needs. If it reads a customer tag, a product tag or a metafield, that has to be requested in the Function's input. A missing value doesn't raise an error; the rule just takes the wrong path.
- It was tested with one simple cart. Test the carts the rule exists for: wholesale, mixed carts, PO box addresses, large orders and several discounts at once.
Step 5: Test real carts, then watch the numbers
Before you call it done, run each rule through checkout on real carts and check three things at the end: the final price, the delivery options offered and the payment methods shown.
For the first weeks, keep watching average discount per order, shipping charged and payment mix. They are the earliest signal that a rule dropped out again.
When to get help
If your scripts were simple, an app from the App Store may cover them in an afternoon. It is worth involving a developer when the rules depend on each other, when the original script code is lost, or when a wrong price at checkout would be expensive.