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

---

Search 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

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

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

 * [Details](https://uz.wordpress.org/plugins/region-or-zip-code-restriction/#description)
 * [Reviews](https://uz.wordpress.org/plugins/region-or-zip-code-restriction/#reviews)
 *  [Installation](https://uz.wordpress.org/plugins/region-or-zip-code-restriction/#installation)
 * [Development](https://uz.wordpress.org/plugins/region-or-zip-code-restriction/#developers)

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

## Description

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

## Screenshots

 * [[
 * Settings page

## Installation

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.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Custom Location Restrictor for WooCommerce” is open source software. The following
people have contributed to this plugin.

Contributors

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

[Translate “Custom Location Restrictor for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/region-or-zip-code-restriction)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/region-or-zip-code-restriction/),
check out the [SVN repository](https://plugins.svn.wordpress.org/region-or-zip-code-restriction/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/region-or-zip-code-restriction/)
by [RSS](https://plugins.trac.wordpress.org/log/region-or-zip-code-restriction/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Update tested up to version.

#### 1.0.0

 * First version of the plugin.

## Meta

 *  Version **1.0.1**
 *  Last updated **3 oy ago**
 *  Active installations **100+**
 *  WordPress version ** 4.0.0 or higher **
 *  Tested up to **6.9.4**
 *  Language
 * [English (US)](https://wordpress.org/plugins/region-or-zip-code-restriction/)
 * Tags
 * [checkout](https://uz.wordpress.org/plugins/tags/checkout/)[location](https://uz.wordpress.org/plugins/tags/location/)
   [Restriction](https://uz.wordpress.org/plugins/tags/restriction/)[shipping](https://uz.wordpress.org/plugins/tags/shipping/)
   [woocommerce](https://uz.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://uz.wordpress.org/plugins/region-or-zip-code-restriction/advanced/)

## Ratings

No reviews have been submitted yet.

[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/)

## Contributors

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

## Support

Got something to say? Need help?

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