``delgraf/module-regioncode``
- Enable region code in customer address templates using {{var region_id}}
- Add region code in store address
* = in production please use the --keep-generated
option
- Go to Magento2 root folder
- Install the module composer by running
composer require delgraf/module-regioncode
- Enable the module by running
php bin/magento module:enable Delgraf_RegionCode
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
- Unzip the zip file in
app/code/Delgraf
- Enable the module by running
php bin/magento module:enable Delgraf_RegionCode
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush