NEWDiscoverShipGoal– turn cart progress into bigger baskets
All posts

ShipWithUpdated

How to hide a shipping method for specific products in Shopify

Use a shipping profile or a delivery customization rule to hide a shipping method for specific products in Shopify.

To hide a shipping method for specific products, either move those products to a separate shipping profile that lacks the rate, or add a delivery customization rule that removes the rate at checkout when the cart contains those products. A shipping profile is built into Shopify. A delivery customization rule needs an app like ShipWith or a custom Shopify Function.

Last reviewed: November 17, 2026.

This post is part of the Shopify shipping rules guide, which covers hiding, renaming and reordering shipping methods at checkout.

What native Shopify can do

Shopify lets you create multiple shipping profiles. Each profile has its own set of rates and zones. If a product should never ship express, you can put it in a profile that only offers standard shipping.

SituationShipping profile works?Why or why not
A handful of products that should never have expressYesMove them to a dedicated profile with no express rate
Mixed cart (eligible + ineligible items)PartiallyShopify splits the cart into delivery groups per profile, so the customer sees different rates for each group — but can still complete checkout
Per-variant control (e.g. only the oversized variant)NoProfiles assign at the product level, not the variant level
Hundreds of products that change oftenImpracticalYou would need to keep the profile membership in sync manually
Hide based on a product property like a tag or metafieldNoProfiles do not check product metadata

When a shipping profile does not cover your case, you need a delivery customization rule.

How a delivery customization rule works

A delivery customization runs at checkout as a Shopify Function. It receives the cart contents and the list of shipping methods Shopify would normally show, then removes, renames or reorders them. It does not create rates or change prices.

With ShipWith, you create a shipping rule with a Hide action and a Cart contains condition that targets the products. The step-by-step setup is in the help article Hide express shipping for specific products or collections.

Choose how to target products

Pick a condition based on how many products you need to manage and how often the list changes.

MethodBest forHow to set it up
Select individual productsA short, stable listAdd a Cart contains condition and pick products from the list
Select a collectionA group that already shares a collection, or a large listAdd a Cart contains condition and pick the collection
Use a product metafieldHundreds of products, or products added frequently by staffTag items with a metafield like shipping_exclude: express and add a Product metafield condition — see Target shipping methods with product or variant metafields

Product operators

When you use a Cart contains condition with products or collections, choose the operator that matches your intent:

OperatorThe rule matches when
at least one selected productany cart line is one of the selected items
only selected product(s)every cart line is one of the selected items
none of these product(s)no cart line is one of the selected items

"At least one" is the most common choice — it hides the method as soon as a single ineligible product is in the cart.

Watch for mixed carts and delivery groups

Shopify can split a checkout into multiple delivery groups. This happens when products come from different shipping profiles, or when items have different fulfillment origins.

Each delivery group gets its own set of shipping methods, and Shopify evaluates them independently. A rule that hides express for certain products applies only to the group that contains those products. The other group still shows express if it is eligible.

[!NOTE] If a hide rule removes every method in a delivery group, that group shows no shipping options and the customer cannot complete checkout. Always leave at least one usable method per group.

Test before you rely on it

Run two checkouts: one with a product that should trigger the rule and one without. Check every delivery group, especially when the cart contains products from more than one shipping profile. ShipWith's Test status lets you preview the rule without affecting real customers — see Test your shipping rules at checkout.

FAQ

Does hiding a shipping method change its price?

No. A delivery customization only controls which methods appear and what they are called. Rates and prices still come from your Shopify shipping settings or carrier service.

Can I hide a method for a single variant instead of the whole product?

Shipping profiles assign at the product level, so a profile cannot exclude one variant. A delivery customization rule can target a variant when you use a variant metafield condition — set a metafield on the specific variant and build your rule around it. See Target shipping methods with product or variant metafields.

What happens when a customer orders an excluded product alongside a normal product?

Shopify groups items by shipping profile and fulfillment origin. The excluded product's group hides the method; the other group shows it normally. The customer sees different shipping options per group, which is expected Shopify behavior.

Can I hide a method for products with a specific tag?

ShipWith does not have a product tag condition. You can either add the tagged products to a collection and use a Cart contains collection condition, or add a product metafield and use a Product metafield condition. The metafield approach scales better when items change often.

Does this work with third-party carrier-calculated rates?

Yes. Carrier-calculated rates appear as shipping methods at checkout like any other rate. A delivery customization rule can hide them by matching part of the method title, for example express. Be specific with your match value so you do not accidentally hide a different method that shares the word — see Match shipping methods by name or handle.