Harbor Gate

Support

Harbor Gate is for any store with items that cannot ship to some states or ZIP codes. It blocks checkout for those items. You write the rules. The app does not provide legal advice and does not know where a product is legal to ship.

Contact: dhutch268@gmail.com Advanced Consulting Firm LLC

Set up a rule

  1. Open the app and choose Create rule.
  2. Name it. Example: "No fireworks to Massachusetts".
  3. Choose what it applies to. You can combine products, tags, and collections. A product matches if it is one of those products, has one of those tags, or is in one of those collections.
  4. Choose Block these destinations or Allow only these destinations.
  5. Add a destination. A row can be a state, ZIP codes, a prefix (902 or 902**), or a range (10001-10282). Set the country too, so California is not read as Canada. On one row, every field you fill in has to match. Add another row for an alternative, such as Idaho or a single New York ZIP.
  6. Leave the message blank to use the default. The default names the product and the place, for example "Fountain firework can't be shipped to Massachusetts, United States." You can write your own message with {product}, {place}, and {rule}.
  7. Save, then on the home page choose Activate checkout enforcement.

Mixed carts

A cart can hold one item that cannot ship and another that can. Checkout names the blocked item. The buyer removes that item and finishes the rest of the order. Example: a fountain firework blocked from Massachusetts stays in the error, and a mug with no rule does not. The mug can still be purchased.

ZIP lists

Paste ZIP codes on the rule, or on the Standard plan save a named list such as "Boston ZIPs" and attach it to the rule. A prefix is enough when the area shares one. 902** matches 90210 and 90210-1234. Keep leading zeros. 01001 is not 1001.

Where the check runs

Shopify's Cart and Checkout Validation Function API says: "This includes express checkouts, such as Shop Pay, PayPal, Google Pay, and Apple Pay." The same API's surface list marks Checkout, Cart, Storefront Accelerated Checkout, Draft Order (Admin), and Draft Order (Checkout) as supported.

It marks these as not supported: POS, Subscription (Recurring Orders), Order Edit (Admin), Order Edit (Checkout), Create Order API, and Pre-order and Try Before You Buy.

Harbor Gate follows that list. It runs in online checkout, including Shop Pay and other express buttons, and in draft order checkout. It does not run for POS, subscription renewals, order edits, orders created with the Admin Create Order API, or pre-order and try-before-you-buy.

Plans

PlanPriceTrialIncludes
Free$0None1 rule, inline ZIP codes, export
Standard$9.99/month or $99/year14 daysMore rules, up to the checkout storage limit, CSV import, saved ZIP lists

Dev stores are not charged. After a downgrade to Free, rules you already saved stay in the app, and you cannot add another until you are back to 1 rule or you upgrade. A rule set that does not fit in checkout storage cannot be saved.

Test before a customer does

Open Test checkout. Enter the product title, any tags or collection ids the rule uses, and an address. The result uses the same function as checkout. The address is not stored.

Try three cases: a banned state, an allowed state, and pickup. Pickup should be allowed. A missing state should not block while the shopper is still typing. Placing the order without a complete address blocks a restricted item that has to ship.

If checkout does not block

If checkout blocks the wrong order

Open the rule and check the country. A row with province CA and no country is rejected by the editor. Canada is country CA. California is country US and province CA. An allow-only rule blocks every destination that is not listed, including ones you forgot.

CSV

Export works on every plan. Import is Standard.

Rules file columns: name, enabled, mode, product_ids, tags, collection_ids, country, province, zips, zip_prefixes, zip_ranges, zip_list_names, message.

Several rows with the same name become one rule. Separate several ids or ZIP codes with |. A range looks like 10001-10282. Importing a name that already exists updates that rule.

ZIP list file columns: name, zip. One code per row.

What the app does not do