Hide a method when certain products are in the cart

Stop a method from showing when the cart has certain products, for example "no Overnight when a FRAGILE item is in the cart". Or the opposite: show a method only for those products.

Before you begin

There are three ways. Pick the one that fits how you identify the products.

Way Best when Set on
SKUs in the cart trigger You know the SKUs, or they share a beginning The shipping rule
Products with a tag trigger (Shopify) The products share a tag The shipping rule
Invalid ship methods A few specific products Each product

Option 1: SKUs in the cart

  1. Go to Shipping Rules and select Edit on a rule of the method.
  2. In Advanced triggers, turn on SKUs in the cart.
  3. Select Hide.
  4. Add the SKUs. Press Enter after each one, or paste a list.
  5. Select Save Rule.

How SKUs match:

  • Upper or lower case doesn't matter.
  • A partial SKU matches every SKU that starts with it. TSHIRT- matches TSHIRT-RED and TSHIRT-BLUE, but not BIG-TSHIRT-RED.

The card says "Hide if the cart has one of these SKUs: …".

Option 2: Products with a tag (Shopify)

  1. Select Edit on a rule of the method.
  2. In Advanced triggers, turn on Products with a tag.
  3. Select Hide and type the tag, for example FRAGILE.
  4. Select Save Rule.

The tag must match a product tag exactly, but upper or lower case doesn't matter.

Products with a tag is the one trigger saved per rule, not per method. If the method has several rules, set it on each of them.

On some BigCommerce stores this trigger appears as Products of a brand and works the same way with the product's brand.

Option 3: the product's Invalid ship methods

On the product's page in ASM, add the method's number to Invalid ship methods. The method isn't offered when that product is in the cart. See Stop a product shipping by some methods or to some places.

Show instead of hide

Every trigger above can use Show instead of Hide. Example: a "Freight" method that shows only when a SKU starting with PALLET- is in the cart.

Check that it works

In the Shipping Estimator, test a cart with the product and one without. See Test your rates with the Shipping Estimator.

Shoppers who pick a blocked method may see "One or more items in your cart are restricted not to use the shipping method that you chose." That message has several possible causes; see "Restricted not to use the shipping method" — what it really means.

Still need help? Contact Us Contact Us