How to stop a Shopify item shipping to certain states

This is not legal advice. Harbor Gate does not decide where a product can legally be shipped. You choose the states, and you are responsible for your rules.

Some catalogs cannot go to every state. A nursery may keep live plants out of a hot route. A winery may ship bottles only to states it has chosen. A supplement brand or a seller of aerosols may do the same. Harbor Gate does not look up a statute for you. It blocks checkout when the cart matches a rule you saved.

1. Mark the item

Open the app and create a rule. Give it a plain name, such as "Live plants" or "House wine". Target the product itself, a tag such as live-plant, or a collection. A product matches if it is one of the products, has one of the tags, or sits in one of the collections. Seeds and live plants can use different tags so one rule does not catch both.

2. Name the states

Choose Block these destinations when those states should not receive the item. Choose Allow only these destinations when everywhere else should stop. Add one row per state. Set the country as well as the state. California is country US and province CA. Canada is country CA. The editor rejects a state with no country so those two are not confused.

Leave the ZIP fields empty when the whole state is the destination. Add another row for a second state. Rows are alternatives. Fields on the same row all have to match.

3. Activate, then test

Save the rule and, on the home page, activate checkout enforcement. Open Test checkout. Enter the product title, the tag, and a state code. The result uses the same function as checkout. The address is not stored.

Try the blocked state, an allowed state, and pickup. Pickup is not a shipment, so a pickup order is not blocked by a shipping rule. A missing state does not block while the shopper is still typing. Placing the order without a complete address blocks a restricted item that has to ship.

What the shopper sees

The default message names the product and the place, for example a sentence that says the item cannot be shipped to that state. You can write your own message with {product}, {place}, and {rule}. If the cart also holds an item with no rule, that second item is not named. The buyer removes the blocked item and finishes the order. Read how mixed carts work.

Where this runs

The check runs in online checkout, including Shop Pay and other express buttons, and in draft order checkout. It does not run on POS, subscription renewals, order edits, the Admin Create Order API, or pre-order and try-before-you-buy. Details are on the coverage page, with a link to Shopify's validation Function API.

The Free plan includes 1 rule. Standard is $9.99 a month or $99 a year, with a 14-day trial, and includes more rules up to the checkout storage limit. Shopify bills the plan.