Prevent orders to certain postcodes and regions

Hi,

how can i block shipping to certain postcodes and regions?

Hi,

Please follow the below steps:

  1. In your Shopify admin, go to Settings > Shipping and delivery.
  2. Under Shipping zones, click Add shipping zone.
  3. Enter a name for the shipping zone (e.g., “Super Quick Delivery”).
  4. In the Country field, start typing the name of the country you want to add, and then select it from the drop-down menu.
  5. If you need to block specific regions within that country, you can further refine the zone by adding postal codes or regions where you want to deliver.
  6. In the end, click on Save.

After that you would need to assign rates etc. to this zone, you can follow onscreen instructions and add them. It would be similar to earlier when you had added the rates for the default shipping zone on your store.

Hope this helps.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hi @Yacine2020 ,
This is Theodore from PageFly - Shopify Page Builder App.

There are two main ways to block shipping to certain postcodes and regions in Shopify:

1. Local Delivery Restrictions (For Localized Deliveries):

This method is suitable if you only offer local delivery within a specific area and want to restrict deliveries to certain postcodes within that area. Here’s how:

  • Go to your Shopify admin panel.
  • Navigate to Settings > Shipping and delivery.
  • In the Shipping section, click on the shipping profile you want to edit (where you define your local delivery areas).
  • Next to the delivery location you want to restrict, click Manage.
  • Select This location offers local delivery.
  • Scroll down to the Restrictions section and click Add restriction.
  • Choose Postal/Zip code as the restriction type.
  • Enter the specific postcodes you want to exclude from delivery in this area.
  • Click Save.

2. Shipping Zones (For More Granular Control):

This method offers more control and allows you to block shipping to entire regions or specific postcodes across your entire store. Here’s how:

  • Go to your Shopify admin panel.
  • Navigate to Settings > Shipping and delivery.
  • In the Shipping section, click on the shipping profile you want to edit (where you define your shipping zones).
  • Click Create zone.
  • Enter a name for your shipping zone (e.g., “Restricted Zone”).
  • Select the countries or regions you want to include in this zone. Deselect any countries or regions where you want to block shipping entirely.
  • Click Save zone.
  • (Optional) To further restrict shipping within a zone based on specific postcodes:
    • Click the “…” button next to the zone you just created and select Edit zone.
    • Scroll down to the Restrictions section and click Add restriction.
    • Choose Postal/Zip code as the restriction type.
    • Enter the specific postcodes you want to exclude from delivery in this zone.
    • Click Save.

Best regards,
Theodore | PageFly

Hi @Yacine2020

For some countries, Shopify’s shipping zones only allow you to specify the state or territory. If you need more precise control, like blocking shipping to specific postcodes or regions, you might want to check out Zapiet - Rates by Zip Code.

With our app, you can:

  • Define your shipping zones and rates based on zip code/post code
  • Charge based on cart price or weight
  • Use advanced wildcard postal code matching, which works well for UK and Canadian merchants
  • Translate rate names, supporting multiple languages and currencies

If you’re interested, we offer a 14-day free trial. Just keep in mind that you’ll need the Shopify Carrier Service API.

Feel free to reach out if you have any questions. Have a wonderful day!

-Klaudia from Zapiet

Hi Theodor, this is exactly what I would like to do however the most important step : ie the one allowing to restrict certain areas within a region doesnt work. For the UK, I am only given the option to select or deselect certain regions. However, the issue we are all facing in the UK is the fact that within Scotland (country but considered a region in Shopify), shipping rates vary considerably when it comes to the Highlands and the Scottish Isles. In my version of shopify, there doesnt seem to be any option to edit a region.

Hi, this doesnt seem to be working: there is no possibility on my shopify version to amend anything within the region nor to addd postcodes or specific aras to which I either dont want to deliver or have to increase my shipping costs substantially. This is major issue with UK sellers as the shipping costs within certain regions can vary tenfold.

You can use our JsRates (https://apps.shopify.com/jsrates-shipping-rates) to block shipping using postcodes or region. The app also enables you to configure your shipping rates in more flexible way. If you are keen, reach out to our support team from inside the app. We will help you with setup without additional fee. The app has a free demo plan for installing. Please note that you’ll need the Shopify Carrier Service API to use JsRates on the checkout.

Hi @Yacine2020 If you are still looking for a solution to this, you can try using the Checkout Guardian App which allows you to create rule based on Specific cities, zone and zip codes. For examples, you can create a rule stating no shipping available for the Scotland region, if you further want to block any particular cities or zip codes you select them accordingly.

So whenever a customer enter the specifc zipcode he will recives a notifcation that Shipping is not available on his entered zip code.

Thank you. Can you please confirm that with your app it is possible to exclude specific postcodes in the UK? None of the solutions proposed to us so far, was able to do this

Yes with this app you have the option, to include/exclude the zip codes also.

Plus you have the option to restrict checkout based on a city, country code.

Thanks, how can I enter a series of postcodes to be blocked? This app seems to require this to be set-up with 1 postcode at a time

For creating the rule, you will have add the postcodes one by one or you can create the rule based on the city if you are planning to exclude the whole city.

Hello @Yacine2020

Please check this if this app can help you

https://apps.shopify.com/zipcode-check-validate?

Hi @Yacine2020 I wanted to update you that now you can enter a series of postcodes to be blocked by creating a rule where you can select the zip codes starting with XX, for example, please block delivery for the postcode starting with 20 and so on.

It is possible to prevent orders from certain postcodes and regions easily using the Cart Lock https://apps.shopify.com/cart-lock app. Follow the steps below:

  1. Open the app and click on the “Add a new rule” button.
  2. Click “Add a new condition” and select the “Zip codes” option. Then add your desired postal codes in this field.
  3. If you want to block certain province/states. Click “Add a new condition” again and select the “Province codes” option. Then add the state codes in this field.
  4. In the “Error message” field, add an appropriate message which will be displayed in the checkout page.
  5. Choose “Any” from the “Match conditions” field.
  6. Save the rule.

That’s it. Now the customers from the selected postal codes and provinces cannot purchase from your store anymore.

Hello @Yacine2020 ,

This is Jessica from ZIP Lock, a Shopify Postal Code/ZIP Code restriction app solution. Our app sounds like it might be what you are looking for. The app is designed to help Shopify Plus merchants set up rules to restrict or allow shipping by postal code/ZIP code and region. The customer will see a warning at checkout that the postal code is not supported with the product name if an unsupported postal code or state was entered in. You can configure the rules to apply to specific products, collections, or all products.

Our app is checkout extensible, which means it requires you to be on the Shopify Plus plan to install it with the new Shopify checkout. We offer a 7-day free trial for you to try it out.

Visit ZIP Lock

Hi Yacine,

Did you find a solution for this? We are moving to Shopify and use DPD. They can’t do Next Day to some postcodes in the Scottish Highlands.

Thanks

Richard