Skip to content
Hand-E Solutions, to the home page

Guide

Shopify Scripts are shut down: how discounts run now

Since June 30, 2026, Shopify no longer runs Scripts, and Scripts that were still published have been deactivated. Discounts that a line item script used to calculate run through Shopify Functions today, for example out of a public app that stores on every plan are allowed to use.

What fell away with the shutdown

Shopify Scripts existed on Shopify Plus alone. Line item scripts acted on the items in the cart and could change prices and grant discounts, for example for volume tiers, bundle discounts or free items.

Shopify phased them out in two steps. From April 15, 2026, Scripts could no longer be edited or published again, and since June 30, 2026, they do not run at all. A store that did not migrate has not granted its old script discounts since that date.

The successor is called Shopify Functions. Functions come from apps. Public apps from the Shopify App Store that contain functions may be used by stores on every plan. Custom apps with their own functions are, according to Shopify, allowed for stores on Shopify Plus.

Shopify nativeWith Hand-E Discounts
Volume discount with several tiersone automatic discount per tierVolume tiers
Tiered discount by order valueone automatic discount per tierCart value tiers
Bundle discount across several partsShopify Bundles as a product of its own, or Buy X get YBundle
Free item above a cart valueBuy X get Y, the customer puts the item in the cartGift above cart value
Payment and shipping scriptsseparate function types for payments and deliverynot part of this app

Replacing natively: what Shopify offers itself

Not every script needs an app. Check what Shopify's own discounts and features cover before you look further.

  • Scripts customizations report: Shopify provided a report you could use to check which script customizations can be replaced by functions or public apps.
  • Simple discounts: percentage or fixed amount discounts with a minimum purchase requirement, Buy X get Y and free shipping exist as regular Shopify discounts.
  • Tiers: A tier structure can be rebuilt as several automatic discounts. Each tier takes up one of the at most 25 active automatic discounts.
  • Wholesale prices: If you calculated B2B prices with Scripts, Shopify's B2B catalogs offer volume pricing per variant, since April 2026 on Basic, Grow and Advanced as well.
  • Checkout Blocks: Stores on Shopify Plus can create custom discounts with Checkout Blocks.
  • Your own function: Plus stores can have a custom app with its own function developed. That is development work, and it needs maintenance later too.

How to move discount scripts over to Hand-E Discounts

Take each old script by itself and translate its rule into a discount type. One rule becomes one discount.

  1. For every script, write down in one sentence what it did, for example: 10% off from 5 pairs, 15% off from 10 pairs on the Socks collection.
  2. Match that sentence to a discount type: Volume tiers, Cart value tiers, Bundle, Gift above cart value or Bulk codes.
  3. Check how your script counted quantities and pick the matching counting mode in Volume tiers: each cart line on its own, all variants of a product together, or everything in scope together.
  4. Rebuild the rule, and for Volume tiers and Bundle recalculate a typical cart in the cart preview.
  5. Compare the result with an old order from the time when the script was running. Differences of a few cents can come from rounding.
  6. Set the combinations. Discount functions run side by side and know nothing about each other. Which discounts apply together is decided by Shopify through the combination settings.

Example: a tiered script as Volume tiers

The old script gave 10% off from 5 pairs and 15% off from 10 pairs on the Socks collection, counted across the whole collection. In Hand-E Discounts that is Volume tiers with the Socks collection as scope and the counting mode everything in scope together. One pair costs $19.99.

CartTierDiscount per pairTotal discountTo pay
4 pairs, $79.96none$0.00$0.00$79.96
6 pairs, $119.9410%$1.99$11.94$108.00
12 pairs, $239.8815%$2.99$35.88$204.00

What can go wrong during the switch

  • Hand-E Discounts does not replace payment and shipping scripts. Shopify has separate function types for those.
  • Per store, at most 25 discount functions are active. If you split many scripts into many separate discounts, keep an eye on that number.
  • Where several rules used to run one after another inside one script, the combination settings now decide what applies together. Recalculate carts in which two rules apply at the same time.
  • The cart preview knows nothing about other discounts, schedules, customer groups, markets, taxes or shipping. A test purchase belongs before the launch.
  • If you uninstall the app, Shopify removes its discounts. Plan the switch so that you do not change apps in the middle of a promotion.

Common questions

Do my old Shopify Scripts still run after June 30, 2026?
No. Shopify deactivated every Script that was still published on that date. Since April 15, 2026, they could not be edited or published again either.
What separates a public app from a custom app with Shopify Functions?
A public app is listed in the Shopify App Store, and stores on every plan may use its functions. A custom app is built for one store, and with functions it is, according to Shopify, allowed on Shopify Plus.
Can an app merge several old scripts into one discount?
When they are about the same rule, yes. Volume tiers hold all tiers of a tiered script in one discount. A script that calculated a tier structure and a bundle at once becomes two discounts.
How do I find out which script customizations I have to replace?
Shopify provided a report on script customizations that shows which customizations can be replaced by functions or public apps. A list of your own with one sentence per rule helps alongside it.