Mage2 Module Jag CustomAddressField
``jag/module-customaddressfield``
Main Functionalities
Custom Address Field
Installation
* = in production please use the --keep-generated option
Type 1: Zip file
- Unzip the zip file in
app/code/Jag - Enable the module by running
php bin/magento module:enable Jag_CustomAddressField - Apply database updates by running
php bin/magento setup:upgrade* - Flush the cache by running
php bin/magento cache:flush
Type 2: Composer
- Make the module available in a composer repository for example:
- private repository
repo.magento.com - public repository
packagist.org - public github repository as vcs
- private repository
- Add the composer repository to the configuration by running
composer config repositories.repo.magento.com composer https://repo.magento.com/ - Install the module composer by running
composer require jagdishram/module-customaddressfield - enable the module by running
php bin/magento module:enable Jag_CustomAddressField - apply database updates by running
php bin/magento setup:upgrade* - Flush the cache by running
php bin/magento cache:flush
Configuration
Store > Configuration > Cusotmers > Customer Configuration > Address Templates Here add the below custom filed code whereever you want: {{var district}}
Specifications
Attributes
- CustomerAddress - District (district)