Guides Fix a problem
Shopify Scripts are gone: what replaces my discount Scripts, and do I need Shopify Plus for Functions?
What stopped, and what took its place
Shopify Scripts were small Ruby programs that ran in the Script Editor app. They changed prices, shipping rates and payment methods at checkout. On June 30, 2026 Shopify retired them. Its Help Center says: "Shopify Scripts and the Script Editor app were retired on June 30, 2026, and scripts no longer run on any store." If a Script ran your tiered price, your BOGO or a hidden payment method, that behavior is off today.
Shopify Functions are the replacement. A Function is a small program that runs inside Shopify's backend during the cart and checkout, for example "take 15% off when the cart holds 3 totes". Three facts decide how you use them:
- Functions come inside apps. You install an app, then set the rule in your Shopify admin. You don't paste code into your store.
- Each Script type has its own Function area. Shopify lists them as Discounts, Shipping and delivery, Payments, and Checkout validation.
- Shopify points every Script to an app. The retirement notice says to "use an app that provides functions" for discounts, shipping and delivery options, and payment methods.
Do you need Shopify Plus for Functions?
No. Shopify's developer docs say stores on any plan can use public apps from the Shopify App Store that contain Functions. Plus is only required in a few cases:
- A custom app with Functions. An app built just for one store and run through the Functions API needs Shopify Plus. This is the "hire a developer" route.
- Some Function capabilities. Shopify says a few capabilities are Plus-only and lists them in its Functions API docs.
- Credit card payment fields in the US and Canada. Payment customization apps can hide, rename and reorder alternative payment methods on any plan from Basic up. Customizing credit card fields requires Plus.
One limit to plan around: Shopify lets a store activate at most 25 discount Functions, and all automatic discounts, native or app, share one limit of 25 active (Shopify Help Center).
Which tool replaces which Script
Scripts came in three types. Each type has its own replacement. For payment and delivery, Shopify's route is an app made for that job. Discount Genie hides payment methods or delivery options only as part of a payment method or store pickup discount, and never renames or reorders them.
| Old Script | Shopify's replacement | Discount Genie |
|---|---|---|
| Line item: tiered or volume price | One native discount per tier (an amount off discount holds one value and one minimum), or a discount app with Functions that holds the whole ladder | Volume discount, Tiered order discount |
| Line item: BOGO | Shopify's Buy X get Y discount, or a discount app for more variations | Buy X Get Y discount |
| Line item: percent off by product tag | An automated collection built from the tag, then a native Amount off products discount on that collection | Product discount on the same collection |
| Line item: price for tagged customers | A customer segment with the tag, then a native discount for that segment | Customer tag condition on Product, Buy X Get Y, Order, Tiered order, Volume and Shipping discounts |
| Line item: block discount codes | A Function with code rejection, from an app. No admin setting | Rejection rules |
| Shipping: discount a rate | Shopify's Free shipping discount, or a discount app | Shipping discount |
| Shipping: rename, hide or reorder delivery options | A delivery customization app, under Settings, then Shipping and delivery | Store pickup discount: hides shipping and local delivery once a shopper takes the pickup offer (every plan, including the basic free plan). No rename or reorder |
| Payment: rename, hide or reorder payment methods | A payment customization app, under Settings, then Payments | Payment method discount: hides the other payment methods once a shopper takes the offer (every plan, including the basic free plan). No rename or reorder |
What Shopify can and can't do natively
Checked November 7, 2026. Every item links the Shopify page it comes from.
Shopify can
- Run Functions from public App Store apps on every plan. Source: shopify.dev
- Show the Functions each installed app runs, under Settings, then Apps, grouped by area: Checkout, Discounts, Payments, Shipping and delivery. Source: help.shopify.com
- Give an amount off products or order discount without an app. Source: help.shopify.com
- Give a Buy X get Y discount without an app. Source: help.shopify.com
- Give a Free shipping discount without an app. Source: help.shopify.com
- Build an automated collection from a product Tag condition ("includes" or "does not include"). Source: help.shopify.com
- Customize payment methods (hide, rename, reorder, sort) and delivery options through an installed customization app, on the Basic plan or higher. Source: help.shopify.com
- Create discount types with an app, such as shipping amount off by order total, or one discount with several savings. Source: help.shopify.com
Shopify can’t
- Run any Script. Scripts and the Script Editor app were retired on June 30, 2026. Source: help.shopify.com
- Run a custom app with Functions on a store that isn't on Shopify Plus. Source: shopify.dev
- Customize credit card fields in the US and Canada on a store that isn't on Shopify Plus. Other payment methods can be customized. Source: help.shopify.com
- Reject discount codes from an admin setting. Code rejection exists for discount Functions only, since December 17, 2025. Source: shopify.dev
- Activate more than 25 discount Functions, or more than 25 automatic discounts including app ones. Source: shopify.dev
Replace a tag-based Script with native Shopify, step by step
Use this for "15% off everything tagged summer" or "VIP price for customers tagged VIP". It needs no app (checked November 7, 2026).
- Create an automated collection with one condition: Tag, includes, your tag (for example summer). Shopify's collection conditions page lists the Tag condition.
- For a customer tag, create a customer segment with the filter customer_tags CONTAINS 'VIP' (segment filters).
- Go to Discounts, click Create discount, and in the Select discount type menu click Amount off products.
- Under Method, choose Discount code or Automatic discount.
- In the Value section, select Percentage and enter 15.
- In the Applies to section, select Specific collections and add the tag collection.
- For a customer tag, under Eligibility select Customer segments and add the VIP segment.
- Set Combinations and Active dates, then click Save. Test one cart that qualifies and one that doesn't.
Native stops where a Script used tiers. An amount off discount takes one value and one minimum, so "10% at $100, 20% at $200" needs one native discount per tier (Shopify allows up to 25 active automatic discounts, source) or an app that holds the whole ladder in one discount.
Rebuild a discount Script with Discount Genie
Discount Genie is a Shopify discount app by Shopstack, built on Shopify Functions. Each discount type below is a Function that you configure in a form. It covers discount Scripts and shipping discounts. It runs on every Shopify plan, Plus or not.
- In Shopify admin, open Discount Genie and click Discounts.
- Under Create discounts like a Genie, click the card for your Script: Volume, Tiered order, Buy X Get Y, Product or Shipping (create your first discount).
- Under Method, choose Discount code or Automatic discount.
- For a ladder, add the steps. A Volume discount uses Add break with Starts (units in cart). A Tiered order discount uses Add tier with Cart subtotal value. Both take Percentage or Fixed amount.
- Pick who gets it. For a tagged-customer price, under Set a target audience add a customer tag condition and use Select customer tags. The shopper must be logged in.
- Click Save, then run a test cart at checkout.
How each old Script maps:
- "Buy 3, get 10% off. Buy 6, get 15% off." Volume discount. The standard version is in the basic free plan.
- "Spend $100, get 10% off. Spend $200, get 15% off." Tiered order discount. The standard version is in the basic free plan. The cart value is worked out before discounts, taxes and shipping.
- BOGO and "buy X, get Y". Buy X Get Y. The Classic and Volume styles are in the basic free plan. Bundled pricing, Cart subtotal and Purchase amount need a paid plan.
- Percent off a tag. A Product discount aimed at a collection. Build the collection from the tag in Shopify first.
- Free shipping over a total. A Shipping discount with a cart subtotal qualifier. Targeting only chosen shipping rates, such as just your express rate, needs a paid plan.
- Blocking codes during a sale. A rejection rule. Choose Limit codes in cart with No codes allowed, or Reject codes based on title matching rules, then write the Reject message shoppers see.
Paid plans include all 11 discount types; gift with purchase needs Shopify Plus (Scale) for stores installed since July 15, 2026. New stores pay $0.99/mo for the first 3 months on any monthly paid plan, then Core $29.99, Growth $59.99, Pro $79.99 or Scale $99.99 a month. The plan offered depends on the store's Shopify plan. The Scale plan also carries Discount Genie's checkout-page extensions.
Worked examples
- Tiered order, 10% at $100, 15% at $200, 20% at $300. A $250 cart lands in the 15% tier: $37.50 off, $212.50 to pay. A $340 cart lands in the 20% tier: $68 off.
- Volume, 10% for 3 to 5 units, 15% for 6 or more, tees at $25. 4 tees cost $100 and get $10 off. 7 tees cost $175 and get $26.25 off.
- Buy 2 get 1 free, shirts at $30. 3 shirts cost $90. The free one takes off $30, so the shopper pays $60.
- Tag price, 15% off summer items. A $60 tagged item costs $51. An untagged item stays at full price.
Test before you rely on it
- Rebuild one Script at a time, starting with the one that earns the most.
- Put a qualifying cart through checkout, then a cart that just misses the rule.
- Check how the new discount combines with your other discounts. See combine discounts.
- Only then promote the sale.
Native Shopify vs a discount app vs a developer
| Need | Native Shopify | Discount Genie | Custom Function |
|---|---|---|---|
| One-rule percent or fixed discount | Yes | Yes | Yes |
| Tiered or volume ladder | No | Yes | Yes |
| BOGO | Buy X get Y | Buy X Get Y, 5 styles | Yes |
| Block discount codes | No admin setting | Rejection rules | Yes |
| Hide, rename or reorder payment and delivery options | Customization apps | Hides them inside a payment method or store pickup discount; no rename or reorder | Plus only |
| Plus required | No | No | Yes |
| Price | Included with Shopify | Basic free plan (up to 3 basic discounts); paid plans: new stores pay $0.99/mo for the first 3 months on any monthly paid plan | Developer time |
FAQ
When did Shopify Scripts stop working?
On June 30, 2026. Shopify retired Scripts and the Script Editor app, and scripts no longer run on any store (Shopify Help Center).
What replaces Shopify Scripts?
Shopify Functions, delivered inside apps. Discount Scripts map to Shopify's native discounts or to a discount app. Shipping and payment Scripts map to delivery and payment customization apps. The table above shows each pairing.
Do I need Shopify Plus to use Shopify Functions?
No. Stores on any plan can use public App Store apps that contain Functions. A custom app with Functions needs Plus (shopify.dev).
Which Scripts does Discount Genie not cover?
Payment and delivery Scripts that rename, reorder or always hide options. Discount Genie never renames or reorders payment methods or delivery options. It hides them only inside two discount offers, and only after the shopper takes the offer, between the discount's start and end dates. A payment method discount (for example 5% off with PayPal) hides the other payment methods, on every plan, including the basic free plan. A store pickup discount hides shipping, local delivery and the pickup locations the offer leaves out, on every Discount Genie plan, including the basic free plan. For everything else, Shopify points those Scripts to payment and delivery customization apps (Shopify Help Center).
Can I block discount codes during a sale without code?
Shopify has no admin setting for it. Code rejection works only through a discount Function, so you need an app. In Discount Genie, create a rejection rule and write the message shoppers see.
Related
- Shopify Functions discounts, explained
- Tiered and volume discounts on Shopify
- Customer tag discounts on Shopify
- Limit and block discount codes on Shopify
- Combine and stack discounts on Shopify
- Set up a BOGO discount in Shopify
- Best Shopify discount apps (2026)
- Which discount type fits my goal? (Discount Genie docs)
- Best Shopify Scripts replacement apps
