Shipping rules
Make your checkout shipping options follow your delivery schedule. Hide Next-day after the cutoff, hide local delivery when today is full, hide Express on closed days, or show the chosen date in the rate name.
Shipping rules are on the Premium plan and work on every Shopify plan. Shopify Plus isn't needed.
Turn it on
- Open Delivery & pickup β Shipping rules. Shopify admin β Settings β Shipping and delivery β Delivery customizations opens the same page.
- Turn on Apply shipping rules at checkout.
- Shopify asks you to approve permissions to change shipping options and read your shipping rates. Approve them.
- OrderRules adds a delivery customization called OrderRules shipping rules to your store and turns it on.
Start from a template
Under Or start from a template:
- Hide Next-day after the cutoff
- Hide local delivery when today is full
- Hide Express on closed days
- Show the chosen date in the rate name
Each template creates a rule you can edit.
Build a rule
A rule has three parts.
1. Which shipping options
- By type: Shipping, Local delivery, Pickup, Pickup point, Retail.
- And/or by Option names, comma-separated. An option matches when its name contains one of them. Tick Match the whole name exactly for an exact match.
Once shipping rules are on, the page lists your own rate names under Your rates: so you can click instead of typing.
2. When (all must be true, up to 10 per rule)
- After a time of day, optionally only on chosen weekdays.
- After today's delivery cutoff, using your storewide delivery rule's cutoff.
- Today is a closed day: your closed dates, and days your storewide delivery rule doesn't deliver.
- Today's delivery capacity is full: today's whole-day delivery capacity is used up.
- Chosen delivery date: at least N days from today, or on chosen weekdays.
- Cart contents: the shipment contains any of, none of, or only the chosen products, collections or tags.
- Shipping country: two-letter country codes, or Every country except these.
A rule with no conditions always applies.
3. Then
- Hide the option.
- Rename it. Use
{title}for the option's name,{date}for the buyer's chosen date in their language, and{slot}for the chosen time slot. If no date is chosen yet, the name stays as it is; if no slot is chosen,{slot}is left out. You can add a separate name per language: Japanese, German, French, Spanish, Italian, Dutch, Portuguese and Chinese. - Move to top or Move to bottom.
Rules apply from top to bottom. For renames and moves the first matching rule wins; a hide always applies.
The separate Rate order card lists rate names in the order checkout should show them. Options you don't list keep Shopify's order after them.
Examples
- Next-day only before the cutoff: option name contains "Next" β After today's delivery cutoff β Hide.
- Local delivery only while there's room: type Local delivery β Today's delivery capacity is full β Hide.
- Date in the rate name: type Shipping β Rename to
{title} β {date}. - No Express abroad: name contains "Express" β Shipping country, Every country except these: JP β Hide.
What rules never do
- They never add shipping options and never change prices.
- They never hide every option a buyer could choose. If they would, checkout keeps all options.
- The cheapest option always stays first, because checkout pre-selects the first option. Your order applies from the second position.
- If a rule can't be checked yet, for example no delivery date is chosen, it doesn't apply, and buyers see your normal options.
Rules use Shopify's clock in your store's timezone, and check tags and collections live, so newly tagged products count right away.
Troubleshooting
| What you see | What to check |
|---|---|
| Turning on fails: "remove one first" | Your store already has 25 delivery customizations, Shopify's limit. Remove one in Settings β Shipping and delivery β Delivery customizations. |
| A banner with Turn back on | The customization was switched off in Shopify. Click Turn back on. |
| A banner with Grant permission | The permission was removed. Click Grant permission and approve. |
| "Rate name not found" | A name in the rule doesn't match any current rate. Check the spelling, or ignore it if the rate comes from a carrier app. |
| My carrier app's rates aren't listed | Rates from carrier apps can't be listed. Type the name as it appears at checkout. |
| A save is refused with a size message | All your rules together are too large for checkout. Shorten rename texts, remove conditions, or use a tag or collection instead of a long product list. |
| A rule doesn't apply | All its conditions must be true. A rule that needs a delivery date doesn't apply until one is chosen. |
Limits
- Up to 50 rules, and up to 10 conditions per rule.
- Up to 8 tags and collections in total across all shipping rules.
- About 9.5 KB of rule settings in total. The editor shows how much you're using.
- Shopify allows 25 delivery customizations per store.
- Shipping rules don't run at Shopify POS.