Title: My Country States For WooCommerce
Author: 2ByteCode
Published: <strong>اکتبر 4, 2023</strong>
Last modified: سپتامبر 24, 2025

---

Search plugins

![](https://ps.w.org/my-country-states-for-woocommerce/assets/banner-772x250.png?
rev=2974906)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/my-country-states-for-woocommerce/assets/icon-256x256.png?rev
=2974906)

# My Country States For WooCommerce

 By [2ByteCode](https://profiles.wordpress.org/2bytecode/)

[Download](https://downloads.wordpress.org/plugin/my-country-states-for-woocommerce.1.1.0.zip)

 * [Details](https://haz.wordpress.org/plugins/my-country-states-for-woocommerce/#description)
 * [Reviews](https://haz.wordpress.org/plugins/my-country-states-for-woocommerce/#reviews)
 *  [Installation](https://haz.wordpress.org/plugins/my-country-states-for-woocommerce/#installation)
 * [Development](https://haz.wordpress.org/plugins/my-country-states-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/my-country-states-for-woocommerce/)

## Description

**My Country States For WooCommerce**, the ultimate solution to a common WooCommerce
limitation. As any international e-commerce store owner knows, providing a smooth
and efficient checkout process is crucial. However, WooCommerce doesn’t include 
states or provinces for all countries by default, leading to frustrating manual 
entry for customers.

We’ve taken this challenge head-on and are proud to present a feature-packed solution.
Our plugin adds support for over 160 countries, ensuring that when a customer selects
their country, the corresponding states or provinces are automatically populated.
No more tedious typing, no more errors in state names—just a seamless checkout experience
that boosts user satisfaction and trust in your online store.

Whether you’re dealing with orders from Afghanistan to Zimbabwe, our plugin has 
you covered. It’s not just a time-saver; it’s an accuracy-enhancer. Shipping rates
and tax calculations will be spot on, creating a more reliable shopping experience
for your customers.

#### Key Features

 * **Support for 160+ countries:** No more missing states or provinces.
 * **Automatic population:** States are populated based on the selected country.
 * **Error reduction:** Eliminate mistakes from manual entry.
 * **Seamless integration:** Easy setup with no coding required. No admin settings
   as well. Just install, activate, and enjoy.
 * **Works out of the box:** A hassle-free enhancement to your WooCommerce store.

Upgrade your WooCommerce store today with ‘My Country States For WooCommerce.’ Elevate
the user experience, increase operational efficiency, and drive customer satisfaction
to new heights. Your global customers deserve nothing less.

## Screenshots

[⌊List of Sweden States.⌉⌊List of Sweden States.⌉[

List of Sweden States.

[⌊List of Belgium States.⌉⌊List of Belgium States.⌉[

List of Belgium States.

[⌊List of France States.⌉⌊List of France States.⌉[

List of France States.

[⌊List of Tajikistan States.⌉⌊List of Tajikistan States.⌉[

List of Tajikistan States.

## Installation

#### Requieres WooCommerce

This section describes how to install the plugin and get it working.

#### From within WordPress

 1. Visit `Plugins > Add New`
 2. Search for `My Country States For WooCommerce`
 3. Install and activate `My Country States For WooCommerce` for WordPress from your`
    Plugins` menu from WordPress.

#### Manually

 1. Download the plugin.
 2. Unzip the file.
 3. Upload the my-country-states-for-woocommerce/ folder to the /wp-content/plugins/
    directory by using cPanel or SFTP/FTP.
 4. Activate the plugin through the `Plugins` menu in WordPress.

## FAQ

### How do I set up the plugin?

No configuration required. All states are automatically for countries whose states
are not implemeted in the WooCommerce.

### How can I customize the list of states for a country implemented by this plugin?

You can customize the list of states for any country by using the `mcsfwc_states_of_{
TWO_CHARACTER_COUNTRY_CODE_IN_LOWER_CASE}` filter hook provided by the plugin. For
example, if you want to override the states for Afghanistan, use `mcsfwc_states_of_af`
filter hook, for Singapore use `mcsfwc_states_of_sg` filter hook

### How can I customize the list of states for Afghanistan?

The `mcsfwc_states_of_af` filter hook allows you to customize the list of states
for Afghanistan in your WooCommerce checkout or other parts of your site where states
are listed.

Here is an example of how to use the filter in your theme’s `functions.php` file:

    ```
    <?php
    function custom_afghanistan_states( $states ) {
        $states = array(
            'BDS' => 'Badakhshan',
            'BGL' => 'Baghlan',
            'BAL' => 'Balkh',
            // Add your custom states here
            'KAB' => 'Kabul',  // Example: Adding a custom state
        );
        return $states;
    }
    add_filter( 'mcsfwc_states_of_af', 'custom_afghanistan_states' );
    ?>
    ```

### Is there any interface in Admin panel where I can customize the States listing?

No, currently you can customize the states list using the avaibale filter hooks.
We are planning to implemente this feature in the next paid version.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“My Country States For WooCommerce” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ 2ByteCode ](https://profiles.wordpress.org/2bytecode/)
 *   [ Tassawer Hussain ](https://profiles.wordpress.org/tassawerhussain/)

“My Country States For WooCommerce” has been translated into 2 locales. Thank you
to [the translators](https://translate.wordpress.org/projects/wp-plugins/my-country-states-for-woocommerce/contributors)
for their contributions.

[Translate “My Country States For WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/my-country-states-for-woocommerce)

### Interested in development?

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

## Changelog

#### 1.1.0

 * Update: Check for compatibility with WC 9.0.1 and WordPress 6.6.1
 * New: Add support for the WooCommerce Cart and Checkout Blocks
 * Improvement: Code readability

#### 1.0

 * Initial release.

## Meta

 *  Version **1.1.0**
 *  Last updated **1 سال ago**
 *  Active installations **100+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **6.8.12**
 *  PHP version ** 7.4 or higher **
 *  Languages
 * [English (UK)](https://en-gb.wordpress.org/plugins/my-country-states-for-woocommerce/),
   [English (US)](https://wordpress.org/plugins/my-country-states-for-woocommerce/),
   and [Russian](https://ru.wordpress.org/plugins/my-country-states-for-woocommerce/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/my-country-states-for-woocommerce)
 * Tags
 * [address](https://haz.wordpress.org/plugins/tags/address/)[checkout](https://haz.wordpress.org/plugins/tags/checkout/)
   [country](https://haz.wordpress.org/plugins/tags/country/)[shipping](https://haz.wordpress.org/plugins/tags/shipping/)
   [woocommerce](https://haz.wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://haz.wordpress.org/plugins/my-country-states-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/my-country-states-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/my-country-states-for-woocommerce/reviews/)

## Contributors

 *   [ 2ByteCode ](https://profiles.wordpress.org/2bytecode/)
 *   [ Tassawer Hussain ](https://profiles.wordpress.org/tassawerhussain/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/my-country-states-for-woocommerce/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.buymeacoffee.com/2bytecode)