Shopify Glossary Terms

Shopify Scripts

Shopify Scripts were small pieces of Ruby code that ran on Shopify's servers during cart and checkout to apply custom logic - discounts, shipping rate modifications, and payment gateway filtering. They were exclusive to Shopify Plus and edited through the Script Editor app.

Scripts have been deprecated and replaced by Shopify Functions, which offer similar capabilities in a more modern, maintainable architecture. Functions run as WebAssembly modules instead of Ruby scripts, support version control, and integrate with Shopify's app framework.

If you're still running legacy Scripts, they'll continue to work for now, but Shopify has set a migration deadline. New customisations should be built with Functions from the start. The migration path is straightforward for most use cases - tiered discounts, BOGO logic, shipping rules - but complex Scripts may need rearchitecting. Our Shopify Plus team handles these migrations regularly.


Think: the deprecated approach that Shopify Functions replaced — migrate before the deadline.

A Shopify Plus Agency for Strategic Design & Advanced Engineering

Building something ambitious?

Chosen by Shopify Plus brands worldwide.

{"@context":"https://schema.org","@graph":[{"@type":"Article","headline":"Shopify Scripts","description":"Shopify Scripts are deprecated Ruby customisations for checkout logic on Shopify Plus. Now replaced by Shopify Functions for discounts and shipping.","author":{"@type":"Organization","name":"Flux Agency","url":"https://flux.agency"},"publisher":{"@type":"Organization","name":"Flux Agency","url":"https://flux.agency","logo":{"@type":"ImageObject","url":"https://cdn.prod.website-files.com/69ac35019ce8f68774055c5e/69ad8912209a3b56e3865820_FLUXw.svg"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://flux.agency/glossary/shopify-scripts"},"datePublished":"2026-03-26","dateModified":"2026-04-10"},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://flux.agency"},{"@type":"ListItem","position":2,"name":"Glossary","item":"https://flux.agency/glossary"},{"@type":"ListItem","position":3,"name":"Shopify Scripts","item":"https://flux.agency/glossary/shopify-scripts"}]},{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What are Shopify Scripts?","acceptedAnswer":{"@type":"Answer","text":"Shopify Scripts were small Ruby programs that ran on Shopify's servers during cart and checkout to apply custom discount, shipping, and payment logic. They were exclusive to Shopify Plus and edited through the Script Editor app. They have been deprecated and replaced by Shopify Functions."}},{"@type":"Question","name":"When are Shopify Scripts being shut down?","acceptedAnswer":{"@type":"Answer","text":"Shopify has set a migration deadline for Scripts. New customisations should be built with Shopify Functions from the start. The migration path is straightforward for most use cases like tiered discounts, BOGO logic, and shipping rules, though complex Scripts may need rearchitecting."}},{"@type":"Question","name":"What replaced Shopify Scripts?","acceptedAnswer":{"@type":"Answer","text":"Shopify Functions replaced Scripts. Functions run as WebAssembly modules instead of Ruby code, support version control, and integrate with Shopify's app framework. They handle the same use cases - discounts, payment filtering, shipping rates - in a more modern and maintainable architecture."}}]}]}