Title: Custom Location Restrictor for WooCommerce
Author: wpspin
Published: <strong>26 Julho, 2024</strong>
Last modified: 11 Fevereiro, 2026

---

Procurar plugins

![](https://ps.w.org/region-or-zip-code-restriction/assets/banner-772x250.png?rev
=3459234)

![](https://ps.w.org/region-or-zip-code-restriction/assets/icon-128x128.png?rev=
3126286)

# Custom Location Restrictor for WooCommerce

 Por [wpspin](https://profiles.wordpress.org/wpspin/)

[Descarregar](https://downloads.wordpress.org/plugin/region-or-zip-code-restriction.1.0.1.zip)

 * [Detalhes](https://pt.wordpress.org/plugins/region-or-zip-code-restriction/#description)
 * [Avaliações](https://pt.wordpress.org/plugins/region-or-zip-code-restriction/#reviews)
 *  [Instalação](https://pt.wordpress.org/plugins/region-or-zip-code-restriction/#installation)
 * [Desenvolvimento](https://pt.wordpress.org/plugins/region-or-zip-code-restriction/#developers)

 [Suporte](https://wordpress.org/support/plugin/region-or-zip-code-restriction/)

## Descrição

The Custom Location Restrictor for WooCommerce adds simple, reliable location controls
to your WooCommerce checkout. You can block or limit orders by country, state/province,
and ZIP code to keep shipping and billing within approved areas. It integrates with
the native WooCommerce settings and validation flow, so customers get clear error
messages during checkout when a location is restricted.

Key Features:

State Restrictions: Restrict billing and shipping addresses by selecting undesirable
or unsupported states.
 ZIP Code Restrictions: Define specific ZIP codes that are
excluded for shipping and billing purposes. Custom Error Messages: Configure custom
error messages that will be displayed to customers when their location is restricted,
providing a clear communication on checkout limitations. Easy Configuration: Simple
and intuitive backend settings to set up and manage location restrictions directly
from your WooCommerce settings panel. Seamless Integration: Works cohesively with
WooCommerce’s existing structure, ensuring compatibility and efficiency.

Whether you’re dealing with specific compliance requirements or managing shipping
logistics that limit where products can be sent, the Custom Location Restrictor 
for WooCommerce provides clear, focused controls for your store.

### Use Cases

 1.  Block sales to states where your products are restricted.
 2.  Restrict shipping to a subset of states during a regional launch.
 3.  Prevent checkout for ZIP codes outside your delivery radius.
 4.  Stop shipping to ZIP codes with frequent carrier exceptions.
 5.  Limit billing addresses to approved regions for fraud reduction.
 6.  Enforce compliance in regions with labeling or tax rules.
 7.  Restrict orders to service areas for local fulfillment partners.
 8.  Exclude remote locations with high shipping costs.
 9.  Temporarily block a region during weather or supply disruptions.
 10. Offer pickup-only coverage by excluding all non-local ZIP codes.
 11. Restrict international orders while allowing domestic billing.
 12. Enforce marketplace territory agreements.

### Usage Instructions

### Configuration

After activation, follow these steps to configure the plugin:

Navigate to WooCommerce -> Settings in your dashboard.
 Select the “Shipping” tab
and click on the “Region or ZIP code restriction” option to open the configuration
settings.

From the configuration page, you can:

 1. Edit the Error Message: Customize the message shown when a restricted location 
    is used. You can include:
 2.  * {state} to show the state name
     * {country} to show the country name
     * {zipcode} to show the ZIP code
 3. Manage Zone Regions: Select the continents, countries, or states you want to restrict.
 4. Configure ZIP Codes: Add ZIP codes separated by commas (for example: 10001, 10002,
    90210).
 5. Restrict Based On: Choose whether restrictions apply to Billing, Shipping, or Both.

Ensure to click on the “Save changes” button after making adjustments to apply the
new settings.

With the Custom Location Restrictor for WooCommerce, you gain precise control over
who can purchase from your store, improving your operational efficiency and compliance
with geographical limitations.

### Works Well With

This plugin is designed to work alongside popular WooCommerce extensions such as:

 1.  WooCommerce Shipping & Tax
 2.  WooCommerce Subscriptions
 3.  WooCommerce Memberships
 4.  WooCommerce Bookings
 5.  WooCommerce Payments
 6.  Stripe for WooCommerce
 7.  PayPal Payments
 8.  ShipStation
 9.  UPS Shipping Method
 10. USPS Shipping Method
 11. DHL for WooCommerce
 12. Table Rate Shipping

## Ecrãs

[⌊Settings page⌉⌊Settings page⌉[

Settings page

## Instalação

Upload the woocommerce-custom-location-restrictor folder to the /wp-content/plugins/
directory of your WordPress website. Activate the plugin through the ‘Plugins’ menu
in the WordPress Dashboard.

## Avaliações

Este plugin não tem avaliações.

## Contribuidores e programadores

“Custom Location Restrictor for WooCommerce” é software de código aberto. As seguintes
pessoas contribuíram para este plugin:

Contribuidores

 *   [ wpspin ](https://profiles.wordpress.org/wpspin/)

[Traduza o “Custom Location Restrictor for WooCommerce” para o seu idioma.](https://translate.wordpress.org/projects/wp-plugins/region-or-zip-code-restriction)

### Interessado no desenvolvimento?

[Consulte o código](https://plugins.trac.wordpress.org/browser/region-or-zip-code-restriction/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/region-or-zip-code-restriction/),
ou subscreva o [registo de alterações](https://plugins.trac.wordpress.org/log/region-or-zip-code-restriction/)
por [RSS](https://plugins.trac.wordpress.org/log/region-or-zip-code-restriction/?limit=100&mode=stop_on_copy&format=rss).

## Registo de alterações

#### 1.0.1

 * Update tested up to version.

#### 1.0.0

 * First version of the plugin.

## Metadados

 *  Versão **1.0.1**
 *  Última actualização **Há 5 meses**
 *  Instalações activas **100+**
 *  Versão do WordPress ** 4.0.0 ou superior **
 *  Testado até **6.9.4**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/region-or-zip-code-restriction/)
 * Etiquetas
 * [checkout](https://pt.wordpress.org/plugins/tags/checkout/)[location](https://pt.wordpress.org/plugins/tags/location/)
   [Restriction](https://pt.wordpress.org/plugins/tags/restriction/)[shipping](https://pt.wordpress.org/plugins/tags/shipping/)
   [woocommerce](https://pt.wordpress.org/plugins/tags/woocommerce/)
 *  [Visualização avançada](https://pt.wordpress.org/plugins/region-or-zip-code-restriction/advanced/)

## Classificações

Ainda não foram submetidas avaliações.

[Your review](https://wordpress.org/support/plugin/region-or-zip-code-restriction/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/region-or-zip-code-restriction/reviews/)

## Contribuidores

 *   [ wpspin ](https://profiles.wordpress.org/wpspin/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/region-or-zip-code-restriction/)