LeDuc Systems

Shopify Scripts replacement apps

I'm Tyler, and I make Shopify apps. Shopify Scripts stopped running on every store on June 30, 2026. If a Ruby script used to enforce a checkout rule for you, that rule is gone until something replaces it. This page maps each kind of Script to its replacement, and lists the use cases my apps cover.

What changed

The replacement is Shopify Functions: small programs that run inside Shopify's checkout. Stores on any plan can use public App Store apps that contain functions. Only Shopify Plus stores can use custom apps that contain functions, so writing your own is a Plus option.

Which Function replaces which Script

What the Script didShopify Function that replaces itMy app
Line item scripts: tiered prices, BOGO, bundle and free gift discountsDiscount FunctionsNone. Shopify's own discounts or a discount app.
Shipping scripts: hide, rename or reorder shipping ratesDelivery CustomizationNone for renaming or reordering. For hiding every rate to stop PO box or restricted addresses, see PO box blocking.
Payment scripts: hide or reorder payment methodsPayment CustomizationNone.
Minimum, maximum or multiple quantitiesCart and Checkout ValidationLeDuc Order Limits
Blocking PO boxes, APO/FPO, forwarders, ZIP codes or statesCart and Checkout ValidationLeDuc Address Rules
Requiring agreement to terms before an orderCart and Checkout Validation, plus a cart checkboxLeDuc Terms Checkbox

Shopify's Help Center groups the Function use cases the same way: custom discounts, delivery customizations, payment method customizations, and cart and checkout validation rules.

Use cases my apps cover

Quantity limits after Shopify Scripts
Minimum and maximum quantities, "sold in multiples of", and whole-order limits, enforced by checkout with LeDuc Order Limits.
PO box and address blocking after Shopify Scripts
Stop orders to PO boxes, APO/FPO addresses, package forwarders, ZIP codes, states and countries with LeDuc Address Rules.
Checkout terms checkbox after Scripts and checkout.liquid
A required terms checkbox with proof of consent on every order, and an optional checkout rule that refuses orders without it, with LeDuc Terms Checkbox.

Why a validation Function is better than the old workaround

A Ruby Script could change prices, reject a discount code, and hide shipping or payment options. It had no way to return an error that stops an order. So checkout rules built on Scripts were indirect: hide every shipping rate and let checkout fail, or rely on the theme's quantity box.

A cart and checkout validation Function returns an error message, and Shopify's checkout won't place the order until the shopper fixes the problem. The message can sit next to the field that broke the rule. Because it runs in checkout and not in the theme, Buy it now, express checkout buttons and edited carts get the same check.

My other Shopify apps

These are not Script replacements, since Scripts never did these jobs, but they are part of the same set:

Status, November 2026: my Shopify apps are in Shopify App Store review and not installable yet. Each app's page will link to its App Store listing once it is approved.

Questions about replacing a specific Script? Email me at tyler@leducsystems.com. Paste the script if you like, and I'll tell you which Function API covers it, even if none of my apps does.

FAQ

Do Shopify Scripts still run?
No. Editing and publishing Scripts stopped on April 15, 2026, and all Scripts stopped running on June 30, 2026.
What replaces Shopify Scripts?
Shopify Functions. Discount Functions replace line item scripts, Delivery Customization replaces shipping scripts, Payment Customization replaces payment scripts, and Cart and Checkout Validation covers checkout rules such as quantity limits and address blocking.
Do I need Shopify Plus to use Functions?
Not for public apps. Stores on any plan can use App Store apps that contain functions. Custom apps that contain functions need Shopify Plus.
Are your apps available now?
Not yet. They are in Shopify App Store review. Each app's page will link to its listing once it is approved.

Sources: Shopify developer changelog, Shopify Scripts will be deprecated on June 30, 2026; Shopify Help Center, Transitioning from Shopify Scripts to Shopify Functions; Shopify developer docs, Function APIs. Read on 2026-11-07.