Magento 2 City Dropdown Manager | Restrict Checkout by City
City Dropdown Manager replaces the free-text city field in Magento 2 with a dropdown. You add cities in the admin panel and link each one to its region. Customers can then only pick from your list, so city names arrive spelled the same way every time and orders stay inside the areas you deliver to.
- Add, edit, and delete cities from the admin panel
- Link each city to its region
- Show the city dropdown in the storefront checkout, the customer address form, admin order creation, and the admin customer address form
- Restrict deliveries to specific cities by limiting the dropdown options
- Works with our free Region Manager extension
- [New] Hyvä checkout city dropdown, plus Hyvä theme support
- [New] Bulk import cities into Magento 2 from a CSV file
- [New] Compatible with Magento 2.4.8-p5 & 2.4.9
Why the default city field causes problems
Magento 2 asks customers to type their city by hand in checkout and in address forms. People misspell names or write the same city several different ways, and your address data gets messy. Stores that deliver only to certain areas also have no built-in way to turn away addresses outside those areas. Those orders get placed anyway and cancelled later.
How the extension fixes it
Adding a city dropdown to Magento 2 checkout and customer address forms means customers choose a city instead of typing one. You manage the list from the admin panel, and each city belongs to a region, so the list matches the region the customer selected. If you only serve certain areas, add only those cities and the dropdown will offer nothing else. That makes this a simple Magento 2 service area extension too.
City dropdown in the admin order creation form


City dropdown in the admin customer address form


Restrict Magento 2 checkout by city
- Only the cities you add show up in the dropdown, so customers can't order to an address outside your delivery area.


Cleaner address data
- Every address uses the same city and region names, spelled the way you entered them.


Manage cities in the admin
- Add or edit a city and pick its region from a dropdown.


Import cities in bulk from CSV
- The extension includes a sample CSV file. Fill it in with your cities and service areas, then import it.




Hyvä theme support
- In a Hyvä theme, the city field shows up as a dropdown when customers add or edit an address in their account.


Hyvä checkout support
- The city field is a dropdown in both the Hyvä one-page checkout and the Hyvä default checkout.






Grid filtering
- Filter cities by region, search them by name, and delete several at once with a mass action.


Selected city shown everywhere
- The chosen city appears in the admin, on the storefront, and in order emails.


Use it with Region Dropdown Manager
- To get a city and region dropdown in Magento 2, pair this extension with our free Region Dropdown Manager. Together they work as a region and city manager for Magento 2, covering both fields.
Version 1.0.3
- Added support for a city dropdown in admin order creation
- Added support for a city dropdown in admin customer address creation and editing
Version 1.0.2
- Compatible with Magento 2.4.8-p5 & 2.4.9
Version 1.0.1
- Added bulk city import functionality
- Code improvements
Version 1.0.0
- Initial release
Frequently Asked Questions
Is this extension compatible with the latest Magento 2 and Adobe Commerce versions?
Yes. It supports Magento Open Source and Adobe Commerce 2.4.1 through 2.4.9, including 2.4.8-p5.
Does it work with the Hyvä theme?
Yes, it works with every version of Hyvä, including the latest release.
How do I install the extension?
Please follow our installation guide to install the extension to your store.
Does it work with Hyvä Checkout?
Yes, with Hyvä Checkout 1.3.0 and later.
Can I restrict Magento checkout to specific cities?
Yes. You decide which cities appear in the checkout dropdown, and customers can only choose from that list. If you deliver only in Dubai, Abu Dhabi, and Sharjah, add those three cities and no other city will appear as an option. That blocks orders to addresses you don't serve.
How do I convert the city field to a dropdown in Magento 2?
Install the extension and add your cities in the admin panel. You don't need to write any custom code. The city field becomes a dropdown in the checkout shipping form and in the customer account address form.
Can the Magento checkout city field be a dropdown instead of a text box?
Yes. By default Magento 2 checkout uses a free-text city field, so customers can type anything. With this extension it becomes a dropdown filled from your admin list.