Deadline: June 30, 2026
Migrate your Shopify Scripts to Functions before they stop working.
Shopify Scripts and the Script Editor are retired on June 30, 2026. We rebuild your discount, shipping, and payment logic as Shopify Functions, tested and live, before the cutoff. No surprises at checkout.
What is at stake
When Scripts stop, they stop silently.
Nothing throws an error. Your checkout rules just quietly revert, which is exactly why it is dangerous. After June 30, 2026:
- Discounts vanish. Automatic discounts driven by a Script stop applying, and customers pay full price.
- Shipping rules revert. Rates you were hiding or reordering go back to the default set.
- Payment rules revert. Methods you were hiding or reordering reappear in their default order.
What we migrate
Every Script type has a Function replacement.
Discount Scripts
Tiered spend thresholds, returning-customer rewards, automatic discounts, and free gifts move to discount functions.
How it worksShipping Scripts
Hiding, renaming, and reordering shipping rates moves to a delivery customization function.
How it worksPayment Scripts
Hiding, renaming, and reordering payment methods moves to a payment customization function.
How it worksHow it works
A clean migration, done before the deadline.
Audit your Scripts
Send us your Script Editor list. We document exactly what each Script does and the inputs it reads.
Map and rebuild
We map each Script to the right Function API and rebuild the logic as a Shopify Function, matching the behavior one to one.
Test in a dev store
We verify every rule in a real checkout, including edge cases like empty carts, mixed carts, and logged-out customers.
Deploy and remove Scripts
We roll the Functions to production, confirm they fire, and remove the old Scripts so nothing conflicts.
Why us
A former Shopify employee, 12+ years on the platform.
Caffeine and Commerce is a Shopify Partner agency that has built and scaled Shopify and Shopify Plus stores for over a decade, including the kind of Script-driven checkout logic now being retired. We have done this migration before, and we test every edge case so a discount or shipping rule never silently breaks.
Learn the details
Everything we have written on the Scripts to Functions move.
- Shopify Scripts is retiring June 30, 2026: what to do
- The full Scripts to Functions migration guide
- Shopify Scripts vs Shopify Functions
- Replace discount Scripts with discount Functions
- Replace shipping Scripts with delivery Functions
- Replace payment Scripts with payment Functions
- Do Shopify Functions require Shopify Plus?
- How to tell if your store uses Shopify Scripts
- Free gift with purchase using Functions
Frequently asked questions
When do Shopify Scripts stop working?
Shopify Scripts and the Script Editor stop working on June 30, 2026. After that date your Ruby scripts no longer run at checkout.
What happens if I do not migrate?
Your Scripts silently stop. Automatic discounts stop applying, shipping rate rules revert to default, and payment method rules revert. Nothing throws an error, which is why it is easy to miss until it affects revenue.
Do I need Shopify Plus to use Functions?
No. Scripts were Plus-only, but Shopify Functions are available well beyond Plus. The discount, delivery, and payment functions that replace Scripts work on standard plans too.
How long does a migration take?
It depends on how many Scripts you run and how complex they are. Most stores have one to three Scripts, and we scope the exact timeline from your Script Editor list before we start.
Can you finish before June 30, 2026?
Yes, that is the point. Send us your Script Editor list now and we map, rebuild, and test every rule so it is live before the cutoff.
Do not wait until June
Get your Scripts migrated before the deadline.
Every Shopify developer is fielding this migration right now. Lock in your slot, send us your Script Editor list and we will take it from there.
