Shopify Scripts to Functions checker
Shopify Scripts stopped running on June 30, 2026. Paste a script to see what it did in plain words and which Shopify Function replaces each part. Free, no sign-up, and your code never leaves the browser.
Your migration map
Paste a line item, shipping or payment script, or try a sample. You will see:
- What the script does, in plain words
- Which Shopify Function replaces each part
- Where a Function finds the data the script reads
Script to Function map
The rules the checker uses. Every Script action has a Function that does the same job, often with more control.
| Script code | What it does | Use now |
|---|---|---|
line_item.change_line_price | Changes a product price | Discount function, product discount |
line_item.split | Discounts part of a line | Discount function targeting a quantity |
discount_code.reject | Rejects a discount code | Combination settings, or enteredDiscountCodesReject |
shipping_rate.apply_discount | Discounts shipping | Discount function, shipping discount |
shipping_rates.delete_if | Hides delivery options | Delivery customization, hide |
shipping_rate.change_name | Renames delivery options | Delivery customization, rename |
shipping_rates.sort_by | Reorders delivery options | Delivery customization, move |
payment_gateways.delete_if | Hides payment methods | Payment customization, hide |
payment_gateway.change_name | Renames payment methods | Payment customization, rename |
payment_gateways.sort_by | Reorders payment methods | Payment customization, move |
Where Functions find the same data
| Script reads | Function input |
|---|---|
customer.tags | buyerIdentity.customer.hasAnyTag |
customer.orders_count | buyerIdentity.customer.numberOfOrders |
customer.total_spent | buyerIdentity.customer.amountSpent |
product.tags | product.hasAnyTag |
product.product_type, product.vendor | product.productType, product.vendor |
product.gift_card? | product.isGiftCard |
line_item.properties | line.attribute(key:) |
cart.subtotal_price | cart.cost.subtotalAmount |
cart.shipping_address | cart.deliveryGroups.deliveryAddress |
Questions about the checker
Need the whole migration done? See our Shopify Functions and Scripts migration service.
Is my Script code sent anywhere?
No. The checker runs entirely in your browser. Nothing leaves the page unless you choose to send us the report through the quote form.
Where do I find the code of my Scripts?
If the Script Editor app is still in your Shopify admin, open each script and copy its code. Otherwise ask the developer who wrote it or check your repository. Shopify’s Scripts customizations report also lists what each script did.
Does the checker understand every Script?
It recognises the standard Script API: price changes, line splits, discount codes, shipping and payment changes, and the customer, product and cart data scripts read. Custom Ruby logic still needs a developer to read it, so treat the result as a starting map.
Do I need Shopify Plus for Functions?
Functions inside public App Store apps work on every plan. Functions in a custom app built for one store need Shopify Plus. Scripts only ran on Plus, so if you had Scripts you can usually build a custom app.
Can you migrate our Scripts for us?
Yes. Send the report with the form below. We list every rule in plain language, recommend an existing app where one fits, build custom Functions where it pays off and test everything on a development store first.
Tell us what you want to build. We’ll reply with a plan.
A free first look at your project: questions, a rough scope and the next steps. No obligation.
- 01 We reply with questions about your store and goals.
- 02 You get a written scope with the price and the timeline.
- 03 We build on a preview, and you approve before launch.