Magento 2

Magento 2 Region & City Dropdown Manager

Rating:
100% of 100
Share
Login to earn Reward Points for sharing!

This extension allows the store admin to manage(add, edit, delete, bulk import) regions/states & cities, converts text-input city field to the select dropdown in checkout address (shipping & billing) & customer address pages for both storefront and backend.

Compatibility

Community: 2.2, 2.3, 2.4
Enterprise: 2.2, 2.3, 2.4
? Please enter the production domain without http:// or https://. For example: www.magepsycho.com For multiple purchases of the extension (i.e. Qty > 1), you can use comma separator(,) for multiple domains. Note that no of domains should not exceed the ordered qty.
? Please enter the development domain without http:// or https://. For example: www.magepsycho.com For multiple purchases of the extension (i.e. Qty > 1), you can use comma separator(,) for multiple domains. Note that no of domains should not exceed the ordered qty.
Regular Price $99.00 Special Price $75.00
v1.0.6
30 Days Money Back
Free Lifetime updates
100% Open Source

Overview

This Magento 2 extension allows the store admin to manage(add, edit, delete, bulk import) regions/states & cities. This extension also converts text-input city field to the select dropdown in checkout address (shipping & billing) & customer address pages for both storefront and backend.

Magento 2 by default has only the data-structure for regions/states without any administration capabilities. Also, the city field is displayed as text-input leading typos & invalid addresses.

With this extension, store admin can easily manage both regions & cities from the backend UI. And the list of cities which are managed from the backend will be shown as a select dropdown to the customer during checkout & address management. This will not only avoid the typos/invalid address issue but also help the store owner to target the cities for shipping rates and cart rules.

Key Features

  • Manage regions/provinces/states & cities easily via backend UI
  • Ability to bulk import regions & cities via CSV file
  • Ability to export regions & cities as a CSV file
  • Display city as a dropdown field with search option in the storefront (checkout shipping/billing address, customer address book & new account creation page)
  • Display city as a dropdown field in the backend (customer edit address, edit order shipping/billing address & create new order shipping/billing address)

Feature Highlights

Easier Management of Regions & Cities

With this extension, store admin can perform the following actions on the entities

  • Add new region/city
  • Edit existing region/city
  • Delete existing region/city
  • Bulk update/delete regions/cities
  • Bulk import regions/cities
  • Export regions/cities data
  • Manage locale-based names
M2 Region City Dropdown - Region Grid Actions
M2 Region City Dropdown - City Grid Actions

Export of Regions & Cities

You can easily export all or filtered regions & cities data as a CSV from backend UI.

M2 Region City Dropdown - Export Regions Data
M2 Region City Dropdown - Export Cities Data

Import of Regions & Cities

In case if you have lots of regions/cities to be added in the system, adding them one-by-one is a tedious task.
With this extension, you can easily download the sample CSV file (or export the existing data), prepare the CSV file, and perform the bulk update.

M2 Region City Dropdown - Import Regions via CSV File
M2 Region City Dropdown - Import Cities via CSV File

You can also import locale name(s) for regions & cities in the single go

Supported Countries

Currently, we have ready-made CSV for regions & cities (with locale name) for the following countries

Display City as a Dropdown Select

This extension converts text-input city field to the select dropdown in checkout address (shipping & billing) & customer address pages for both storefront and backend.

Checkout Address City Dropdown
Customer Address City Dropdown

Search Option in Dropdown

The city dropdown along with country & region is also configurable to have the search box inside the dropdown which makes finding required cities a breeze without having to scroll a long list.

Customer Address City Dropdown with Search Option
Customer Address City Dropdown with Multiple Locale (Arabic) Search Option

Having city as a dropdown field can have the following advantages for the store:

  • Eliminates typos, reduces the entry of incorrect addresses
  • Effortless selection of regions/cities for customers
  • Can be used in the shipping fee calculator
  • Can be used as a shopping condition for the cart rules
  • Easier to restrict shipping based on cities

Support for Multi-Locales

If you have multiple stores with different locales, you can easily manage region & city names based on locales.

Multi-locale values are also supported by import/export functionality of regions & cities

In the storefront, the region & city names will be shown as per the locale

Multi Locale Options for City - Add/Edit Form
Multi Locale Options for City - Checkout Address

Installation

1. Download the extension .zip file and extract the files.
2. Copy the extension files from src/ folder to the {magento2-root-dir}/
3. Run the following series of command from SSH console of your server:

php bin/magento module:enable MagePsycho_RegionCityPro --clear-static-content
php bin/magento setup:upgrade

4. Flush the store cache

php bin/magento cache:flush

5. Deploy static content (in Production mode only)

rm -rf pub/static/* var/view_preprocessed/*
php bin/magento setup:static-content:deploy

5. Go to Admin > STORES > Region & City Manager > Here you can manage regions & cities and configure settings

Live Demo:

Backend Demo | Frontend Demo

v1.0.6

released on 2022-09-20
  • added Added searchable option for the country, region, and city in customer's address book
  • removed Removed sorting settings for region & city (made it relative to country sorting)
  • fixed Fixed showing all city options in the dropdown in the backend (customer & sales)
  • fixed Fixed empty value of city causing exception for custom one-step-checkout modules
  • fixed Fixed "Call to a member function getExtensionAttributes() on null" error on checkout in some cases
  • fixed Fix city locale issue in admin
  • added Refactored the code
  • added Tested compatibility against Magento v2.4.4 & v2.4.5

v1.0.5

released on 2021-08-06
  • fixed Fixed the city dropdown for checkout > billing
  • added Refactored the code
  • added Tested compatibility against Magento v2.4.3

v1.0.4

released on 2021-04-15
  • fixed Fixed mass-delete action for "Select All" checkboxes in region & city listing
  • fixed Fixed search filter with ID range in region & city listing
  • fixed Fixed city dropdown for "Display Billing Address On = Payment Page" case
  • added Added filter option in region & city admin UI component
  • added Added searchable option for country & region in the storefront
  • added Added city dropdown for new account creation page (if address fields are enabled)

v1.0.3

released on 2021-02-05
  • added Added searchable option for city dropdown

v1.0.2

released on 2020-11-20
  • fixed Fixed di:compile issue
  • added Tested compatibility against Magento v2.4.1

v1.0.1

released on 2020-09-19
  • fixed Fixed "Trying to access array offset on value of type bool" issue in PHP 7.4
  • fixed Fixed city data not copying issue when guest user is converted to customer
  • fixed Fixed the table prefix issue in regions & cities import
  • fixed Fixed the ACL issue
  • fixed Fixed the city sorting issue in drodpdown
  • added Tested compatibility against Magento v2.4.0

v1.0.0

released on 2020-07-20
  • added Initial Release

Extension

Does this extension include regions & cities CSV for all the countries?

Nope. Currently, we only have ready-made CSV for United Arab Emirates (UAE) including Arabic names.

Regions & Cities have been imported via admin, but still don't show in the storefront.

Make sure you have enabled the extension and entered the CORRECT license key.

City dropdown is working with Luma theme but not with my customized one-page/one-step checkout

As long as your one-step checkout is customized with best practices, it should work. If it's not working please do contact us.

I don't know the city codes. Can I keep it blank?

Yes you can. It's an optional field.

Does your extension support the city dropdown with table-rates shipping extension?

Nope. But we can extend the extension to fulfill your requirements.

Does your extension support Township/sub-district under cities? for example: Country > Region > City > Township, Sub-district

Nope. But we can extend the extension for you.

Generic

How can I pay for MagePsycho extensions?

We only support PayPal for now. The other means are under processing.

If I buy an extension, how would I get it?

After you make a purchase, the order will appear in the "My Orders" section of your personal account page.

As soon as the order status becomes completed the purchased extensions can be downloaded from "My Downloads" section.

How can I get the license key(s) for the purchased extension?

The license key(s) are sent along with the invoice email.
In case if you have't received any license key(s), please Contact Us with the order #.

Are your extensions open source or encrypted?

All of our extensions are developed on the open source platform.

Do you provide Magento customization service?

Yes, sure, we can help you with customization. Please, submit the Request Quote form.

Can I get a refund if an extension doesn’t suit me?

Absolutely. MagePsycho provides a 30-day money back guarantee. So feel free to purchase.

After 30 days from the date of purchase, the refund is not applied. You also cannot ask for a refund for the installation service or custom service.

If you are looking for a specific solution for your store, please Contact Us.

Can I request a free trial?

MagePsycho doesn’t provide any trials. But we have a 30 days money back guarantee.
But if you buy an extension and it doesn’t suit you in any way, you can request a refund with no risks on your side.
Moreover, most of our extensions have demos, where you can see how our modules work.

What is the license policy? On how many websites can I use MagePsycho extensions?

Our license allows you to use in a single domain but an unlimited number of sub-domains.
In the case of additional licenses, we do provide a good discount.

Will I get free support and updates?

You will get free lifetime updates for extensions purchased from us.
Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account
You May Also Like