How do I exclude postcodes while setting up shipping table rates?
Out of the box, the Shipping Table Rates module does not allow excluding postcode ranges.
However, this feature is presented in our Shipping Rules and Shipping Restrictions extensions. With the help of the Shipping Areas submodule that comes in a package, you can set up rates for a list of entities, including or excluding particular countries, states, regions, cities, postcodes, etc:
Let's say we'd like to set up a shipping rate for the US except for a zipcode range from 70100 to 70200. The following needs to be done:
1. Go to Sales → Shipping Table Rates and create a shipping method with at least one rate that covers all the US:
2. Go to Sales → Shipping Areas and create a shipping area with the following configuration:
This shipping area covers the US, zip code range from 70100 to 70200.
3. Go to Sales → Shipping Restrictions and create a new rule with the configuration as depicted in the screenshot below:
As a result, this rule will hide the selected shipping method (US Delivery) if the customer specifies the USA as a shipping country and a zipcode from the mentioned range:
Related Articles
How to fix the errors while importing CSV with the shipping table rates?
If you are facing difficulties with importing a CSV file, it is necessary to check if the following conditions are met: 1. The country spelling in the CSV file is identical to the spelling of country names at Stores → Configuration → General → ...
How to configure a Shipping Restriction based on postcodes?
There are several ways to configure a Shipping Restriction that will block a certain delivery method based on postcodes. Option #1 If you are using multiple single postcodes or ranges, one of the methods to configure a postcode-based Shipping ...
How many postcodes can be added to the Shipping Area?
The maximum amount of postcodes within one Shipping Area can be achieved if the textarea input is used to list them rather than the table input: The textarea input field can fit up to 64,000 symbols. With an average postcode length of around 8 ...
Why isn't the shipping method displayed for the cart that contains products with different shipping types?
In case your shipping behavior is based on offering different shipping rates for different shipping types, note that, for the shipping method to be For example, there are three shipping types on the instance: light, medium & heavy. It means that the ...
I'm having problems setting up Dimensional Shipping Weight. What should I check?
If you experience difficulties trying to set up Dimensional Shipping Weight, we recommend going over this checklist: 1. The dimensional weight attribute (the one that contains values for Length, Width, and Height) should have the Catalog Input Type ...