Function types

Shipping rules

Hide, rename or reorder delivery options at checkout, or make shipping free or discounted — by cart, customer, product or address.

2 min read · Updated

Shipping functions change the delivery options customers see at checkout. They can do two different things, and each needs its own function:

  • Hide, rename or reorder shipping methods — a delivery customization in Shopify, listed under Settings → Shipping and delivery.
  • Make shipping free or discounted — a shipping discount, listed under Discounts. It counts toward Shopify’s limit of 25 app discounts.
The Then card of a function that hides shipping methods whose name contains express
Hide shipping methods whose name contains “express”.

Choose which shipping methods

Hide, rename and reorder actions pick shipping methods by the name shown at checkout:

  • Name contains — e.g. express matches Express (1–2 days) and UPS Express.
  • Name is exactly — the whole name.
  • All except names containing — every method except those.
  • All shipping methods.

Upper and lower case don’t matter, and you can enter several names — any of them matches.

Tip: Copy names from your real checkout. A rate called Standard Shipping isn’t matched by standard delivery.

Actions

  • Hide shipping method — removes the matching rates.
  • Rename shipping method — New name (up to 100 characters) is what customers see.
  • Reorder shipping method — Move to position: 1 is the top of the list.
  • Free / discounted shipping — Free shipping, Percentage off shipping or Fixed amount off shipping. Tick Only for specific shipping methods to discount only some rates. Like any discount, it shows the function’s title at checkout and has discount settings.

Examples

Goal When Then
Free shipping over $150 Cart total is at least 150 Free / discounted shipping → Free shipping
No express to Alaska & Hawaii Country is any of US · State / province is any of AK, HI Hide shipping method → name contains express
No same-day delivery after 2 PM Time of day is between 2:00 PM and 11:59 PM Hide → name contains same-day
Local delivery only nearby Invert: ZIP / postal code starts with 100, 101, 102 Hide → name contains local delivery
Clearer names abroad Country is none of US Rename standard → Standard (5–10 business days)
Weekend free shipping Day of the week is Sat, Sun · Cart total is at least 50 Free shipping

Things to know

  • Be careful not to hide every option: if a rule hides all rates for an address, those customers can’t complete checkout. Test your rule with a few addresses.
  • Shipping rules see the address once the customer has entered it. Before that, address conditions don’t match (negative ones like is none of do).
  • Shopify Market isn’t available for hide, rename and reorder. Use Country instead.
  • Amounts in hide, rename and reorder rules are compared with the cart in the customer’s checkout currency. If you sell in several currencies, add a Currency condition or set thresholds per country.
  • Shopify allows up to 25 delivery customizations per store.

Test the rule with the Shipping rates at checkout list in the tester — rename the sample rates to match your real ones.

Didn’t find what you need?Email [email protected] and we’ll help you set it up.
Email support