This Magento 2 module allows you to manage address templates per country. The core database table directory_country_format contains a mapping between a country and an address template, yet there is no way to manage this. This module uses Loki_AdminComponents to create a grid and form in the Magento Admin Panel, allowing you to manage things anyway.
Install this package via composer:
composer require loki/magento2-directory-country-format-manager
Next, enable this module:
bin/magento module:enable Loki_DirectoryCountryFormatManager
Navigate to Stores > Settings > Country Format Manager within the Magento Admin Panel.
For getting support, create an Issue under the following project URL:
https://gitlab.yireo.com/loki-checkout/Loki_DirectoryCountryFormatManager.git
The following LokiComponents are created or references in this module:
directory_country_format_manager.form
directory_country_format_manager.grid
The following dependencies are declared in the module its `etc/module.xml` file:
Loki_AdminComponents
Loki_Components
Loki_CssUtils
Magento_Backend
Magento_Catalog
Magento_Customer
Magento_Directory
Magento_Eav
Magento_Store
Magento_Theme
Magento_Ui
Yireo_CspUtilities
Loki_DirectoryCountryFormatManagerloki/magento2-directory-country-format-manager
loki/magento2-admin-components: ~0.6.3
magento/framework: ^103.0
magento/module-backend: ^102.0
| 1.0.0 | 13 May 2026 |