Hide shipping rates
A hide shipping rate operation removes a shipping rate from the list of delivery options your customer sees at checkout. You can hide a single rate, hide all rates that match a list, or surface only the cheapest / most expensive rate from a list — and any of these can be conditional.
When to use it
Section titled “When to use it”Use a hide operation when:
- A specific carrier or method should not appear for certain carts (heavy items, restricted products, specific destinations).
- You want to expose only one or two preferred methods and hide the rest of the noise.
- A rate should only show for a particular customer segment (logged-in customers, tagged customers, specific countries).
The rule shape
Section titled “The rule shape”A hide operation has three parts:
- Match — which rates the operation applies to. You pick a match field (
TitleorHandle) and a list of values that must match exactly. - Conditions — a list of
ifclauses. All conditions must be true for the operation to fire. - Mode — what “hide” means in this operation. See Modes below.
Configuring a hide operation
Section titled “Configuring a hide operation”- Open Shipping → Hide Operations in the app.
- Click Create Operation.
- Give the operation a name (for your reference only — it doesn’t appear at checkout).
- Rate matching — pick the match field. If the rate title in Shopify is
Standard Shippingand the handle isstandard-shipping, matching byTitleand enteringStandard Shippingwill catch it. The match is exact. - Conditions — add as many as you need. All conditions must be true. See Conditions for the full list of fields and operators.
- Mode — see below.
- Click Save. The operation is published to the live checkout through the background job.
The mode controls the operation’s behaviour when its conditions match. There are four modes.
The default. When the conditions are true, the matched rate is removed from the list. When the conditions are false, the rate is left alone.
Use this for the simple case: “don’t show X when Y.”
The inverse. When the conditions are true, the matched rate is shown. When the conditions are false, the matched rate is hidden (i.e. hidden by default and surfaced only when conditions are met).
Use this for “only show X when Y.” The rate is hidden unless the conditions say otherwise.
Lowest
Section titled “Lowest”Available on the Advanced and Pro plans. When the conditions are true, only the cheapest of the matched rates is shown; the others are hidden. If two rates have the same lowest price, both are shown.
Use this for “always show the cheapest of these options.”
Highest
Section titled “Highest”Available on the Advanced and Pro plans. Like Lowest, but keeps the most expensive matched rate and hides the rest. If two rates tie at the top, both are shown.
Match field: title vs handle
Section titled “Match field: title vs handle”Each shipping rate in Shopify has both a title (the human-readable name) and a handle (an identifier you set in admin). Matching by handle is safer for operations that should survive a rate being renamed, because handles are stable.
If you’re not sure which handle to use, the rate list in Shopify admin shows it under each shipping zone’s rate. The hide form’s Match Values field accepts both titles and handles, but you have to pick the match field that matches your values.
Plan limits
Section titled “Plan limits”Hide operations count toward the plan’s operations limit. Advanced modes (Lowest, Highest) require the Advanced or Pro plan; the form shows an “Upgrade to Advanced plan for additional operation modes” hint next to those options.
Example
Section titled “Example”Goal: hide “Standard Shipping” for orders to Canada that weigh more than 5 kg.
- Operation name:
Hide Standard for heavy Canadian orders- Match field:
Title, value:Standard Shipping- Mode:
Hide- Conditions:
country_code equals CA(Destination)shipment_weight greater than 5 kg(Shipment)- Save. Within a few seconds the change is live at checkout.
See also
Section titled “See also”- Conditions
- Hide payment methods — the payment-surface version.
- Operations overview — the rule shape.