Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

magic42-extensions/magento2-ukpostcodelookup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crafty Clicks Magento 2 Integration

Added support for PHP 7.4

Quick instructions

Install via composer

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

Manual Install

  • Create folder structure /app/code/Craftyclicks/Ukpostcodelookup/
  • Download & copy the git contents to the folder
  • Run install script
php -f bin/magento setup:upgrade

Configuration Instructions

The configuration for the extension is located under Stores -> Configuration -> Crafty Clicks -> Click to Address. There are 3 sub-sections.

Main Options

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.

Search Options

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)

End-user Instructions

  • If the selected country on the checkout / address book is the UK, a "Find address" button will appear.
  • Type in the desired postcode to the field next to it.
  • Click on the Find Address button. A dropdown will be presented will all the possible address locations.
  • Select the correct address from the dropdown.
  • All remaining address parts will be filled with the details.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 92.7%
  • PHP 4.3%
  • CSS 2.6%
  • HTML 0.4%