---
title: "Replacing Shopify Scripts shipping discounts"
description: "Shopify Scripts stopped running on June 30, 2026. How to rebuild a shipping Script as a shipping discount, without code."
url: https://rmewfqxya.us.gleap.help/en/articles/28-replacing-shopify-scripts-shipping-discounts
collection: "Guides"
updated: 2026-10-30
language: en
---

# Replacing Shopify Scripts shipping discounts

Shopify Scripts stopped running on June 30, 2026. How to rebuild a shipping Script as a shipping discount, without code.

_Updated October 2026_

**Short answer:** Shopify Scripts stopped running on June 30, 2026, so shipping Scripts no longer change rates at checkout. Shopify Functions replaced them. RM: Advanced Free Shipping is built on Shopify Functions and covers the common shipping discount Scripts without code, on every Shopify plan.

## Two jobs, two replacements

Shipping Scripts did two different jobs:

-   **Discounting rates** (free, percentage off, amount off): now a shipping discount. This is what the app does.
    
-   **Hiding, renaming or reordering rates**: now a delivery customization. The app doesn't do this, so use a delivery customization app for it.
    

## Common Scripts, rebuilt

-   **Free shipping over $X**: **Cart total** (or **Cart subtotal**) **Is at least** X, then **All shipping rates**, **Free**.
    
-   **Discount a rate by name**, such as `rate.name.include?("Standard")`: **Choose specific rates**, type "Standard" and choose **Add "Standard" (wildcard match)**.
    
-   **Free cheapest rate**: **Cheapest shipping rate**, **Free**.
    
-   **Customer tag**, such as `customer.tags.include?("VIP")`: **Customer tag** **Contains** VIP. As with Scripts, the customer must be signed in.
    
-   **Country, state or postcode**: **Shipping country**, **Province / State** or **Postcode / ZIP**.
    
-   **Products or collections in the cart**: **Product in cart** or **Product collection**.
    
-   **Cart weight or item count**: **Cart weight** or **Cart quantity**.
    
-   **Percentage or amount off shipping**: **Percentage** or **Fixed Amount Off**.
    
-   **Cap shipping at a price**: **Fixed Price**.
    
-   **Only with a code**: choose **Discount code** as the discount method.
    
-   **if / elsif tiers**: separate discounts per tier. Customers get the one that saves them the most.
    
-   **Alternative ways to qualify** (`||`): rule groups, joined with OR. See [How rules work](https://rmewfqxya.us.gleap.help/en/articles/5-how-rules-work.md).
    

![Two rule groups joined with OR: a VIP customer tag, or a cart total over $100 shipped to Australia](https://staticfiles.us.gleap.ai/p6ad4251a43e13d5e6030fd91/FSWDFjYo36xoDgQ0riXrYI33e3sMznUTgScipcX6Jbn4TyHaG4QJJF8hHegQdBPZ3QycyD107eq.png)

## Switching over

1.  List what each Script checked and what it changed.
    
2.  Build each one as a discount with **Test mode** on, so only checkouts with the first name ABC123 get it. See [Test a discount before going live](https://rmewfqxya.us.gleap.help/en/articles/3-test-a-discount-before-going-live.md).
    
3.  Check combinations. A shipping discount only applies alongside a product or order discount when both allow it. See [Combining with other discounts](https://rmewfqxya.us.gleap.help/en/articles/9-combining-with-other-discounts.md).
    
4.  Turn off Test mode.
    

## Good to know

-   Scripts needed Shopify Plus. Discount apps built on Shopify Functions work on every plan.
    
-   One shipping discount applies per rate: the one that saves the customer the most. Discounts can't be chained the way Script changes could.
    

## Common questions

**When did Shopify Scripts stop working?**  
June 30, 2026. Scripts no longer run at checkout.

**Do I need Shopify Plus to replace a shipping Script?**  
No. RM: Advanced Free Shipping works on every Shopify plan.

**Can it hide or rename rates like my old Script did?**  
No. Hiding and renaming are delivery customizations, not discounts. Use a delivery customization app for those, and this app for discounting.

**Do I need a developer?**  
No. Each Script pattern above is a few settings in the app.
