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.
Shopify Scripts and the Script Editor app retired on June 30, 2026. Scripts no longer run. Use compatible apps built with Shopify Functions, or rebuild the required logic against a supported Function API.
Review each old discount, shipping or payment rule and confirm that its replacement covers the intended behaviour. Test combinations, customer eligibility and edge cases rather than assuming a direct code conversion. Our Shopify Plus team handles these migrations regularly. See Shopify’s retirement guidance for the current status.
If a store relied on Scripts, check the live replacement rules now. The migration deadline has passed.
Frequently asked questions
What are Shopify Scripts?
Shopify Scripts were Ruby programs used on Shopify Plus for custom discount, shipping and payment logic. They were edited in the Script Editor app. Both retired on June 30, 2026, and Scripts no longer run.
When were Shopify Scripts retired?
Shopify Scripts and the Script Editor app retired on June 30, 2026. Any required behaviour needs a supported replacement, such as an app using Shopify Functions or a custom Function. Check each use case and test the replacement in the store.
What replaced Shopify Scripts?
Shopify Functions support custom commerce logic through apps. Functions run as WebAssembly rather than Ruby Scripts. Choose the appropriate API for discounts, delivery options or payment customisation; do not assume every old Script maps directly to the same behaviour.
Related terms: Shopify Functions, Checkout Extensibility, Shopify Editions. For hands-on help, see Flux's Shopify Plus developers.
Shopify Plus development and AI search
We build Shopify Plus stores that customers and AI shopping agents can find, compare and buy from. 210+ stores since 2012.
Chosen by Shopify Plus brands worldwide.














