Type
magento2-module
Apply postcode lookup to Magento 2.
magento2-module
MIT
None
None
None
None
None
First add the repository:
composer config repositories.craftyclicks git https://github.com/craftyclicks/m2-ukpostcodelookup.git
& make sure that your your minimum-stability is alpha. Then, request composer to fetch the module:
composer require craftyclicks/module-ukpostcodelookup
(or composer require craftyclicks/module-ukpostcodelookup:dev-branch for a specific branch)
Then execute install script
php -f bin/magento setup:upgrade
php -f bin/magento setup:upgrade
The configuration for the extension is located under Stores -> Configuration -> Crafty Clicks -> Click to Address. There are 3 sub-sections.
Enable Frontend - Enable or disable the extension for Checkout / AddressBook areas.
Enable Backend - Enable or disable the extension for Admin -> Order / Customer address detail edit parts.
FrontEnd Access Token - Place your web CraftyClicks access token here.
BackEnd Access Token - Place your internal CraftyClicks access token here.
Postcode Lookup Type - Traditional / Searchbar. (Determines the position of the lookup: postcode or dedicated field)
Hide Address Fields or New Address Entry - Hides address fields until lookup is used.
Auto-Search - Checks if an entered postcode is valid; if it is performs the lookup immediately.
Clean Input after Search - Cleans input after lookup (Searchbar only)