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: