Skip to main content
Shipping per Branch

Prevent customers from ordering from distant branches or out-of-stock items

Pedro Pinto avatar
Written by Pedro Pinto
Updated this week

Some dealers face issues with customers ordering items from distant branches when their nearest branch is out of stock. This can lead to incorrect shipping fees and order fulfillment problems. For example, a customer in Florida (FL) might switch to a New York (NY) branch if items are out of stock in FL, resulting in shipping fees calculated as if the shipment is local to FL or orders being placed for items not in stock at the selected branch.

Setting Up in Admin

To configure shipping restrictions per branch:

  1. Navigate to Settings: Go to the Settings menu.

  2. Access Shipping Zones: Under Shipping, select the appropriate shipping zone.

  3. Enable Restrict Zone to Branches: In the shipping zone settings, find the Restrict Zone to Branches section and toggle the feature on.

  4. Select Branches: Use the multi-select box to select the branches for that shipping zone. Optionally, you can also exclude certain branches.


Behavior in Storefront

Cart

Stock Check and Notifications:

The system automatically checks the stock of all items in the cart for the selected branch. If any items are out of stock, an "Out of stock" badge will appear next to those items, and a warning message will display at the top of the cart.
​

πŸ‘ Important: The notifications will only display if your store has Inventory v2 enabled. Read more

Proceed to Checkout:

If your store has Inventory v2 enabled and the inventory rules have either the "Hide 'Add to Cart' button if no stock" option or the "Enforce stock check when adding to the cart" option enabled, the checkout button will be disabled for users with out-of-stock items. This also prevents users from bypassing the cart and going directly to checkout, ensuring stock availability is always verified before proceeding. Users will be redirected to the cart.
​


​
Otherwise, if these features are not enabled, everything will function as usual.

Checkout

Restrict by Areas:

During checkout, shipping zones are filtered by area. If the shipping address is not included in the list of allowed areas, the corresponding shipping options will not be shown, and a message will appear indicating that no shipping options are available.
​

Did this answer your question?