Magento Integration

Using the AFD Postcode Evolution® Magento Integration Extension you can now put rapid, accurate address lookup and searching at the heart of your Magento e-commerce solution.

AFD Solutions for Magento

AFD Software has poured its 450 plus years of experience around address validation solutions into our Magento extension enabling websites built on the popular platform to provide Address and Postcode lookup within Magento’s customer detail capture and checkout forms.

Address Validation

Our address lookup solutions allow users to utilise either postcode finder or address finder functionality.

  • Postcode search results in a list of the addresses at the postcode entered.
  • Address search by entering the first line of the address will return the matching addresses.
  • Typeahead functionality can also be used which narrows down the results with each keystroke entered.
  • Geolocation or geolookup functionality harnesses your customer's current location for one tap address entry.

Essentially, our solutions are flexible and address validation in Magento can work how you want it to.

Email Address Validation

AFD’s live email validation in Magento performs a live check on the email address entered to verify the email address and avoid vital communications not landing.

Phone Number Validation

AFD’s live phone validation within Magento pings the phone number confirming it is live and reachable via text or call.

More details on each of the data validation solutions for Magento can be found below or navigated to using the side bar.

Get Started

To get started with AFD Software's Magento integration you will need authentication credentials. If you don't yet have authentication credentials, contact our sales team. There are many ways to do this:

  • Call us now on 01624 811711.
  • Send an email to postcode@afd.co.uk.
  • Request a callback or send us an enquiry using the form below.

Rest assured, we just want to understand how we can overcome your challenges and become your partner in data quality.

  • Install the module via composer composer require afd/module-pce

Typeahead

Typeahead address searching makes inputting addresses a much more pleasant experience for the customer and ensures that the data that is collected is accurate - essential for eCommerce.

Typeahead is available on the following forms:

  • Checkout - Shipping and Billing
  • My Account - Address Management
  • Admin - Manage Customer Address
  • Admin - Create Order

Our Magento typeahead plugin comes equipped with these great features:

  • Easy and accurate address entry using these data sets:
  • Restructure address forms to optimise for address searching with the following options:
    • Enable searching for only a specifc set of countries or all countries
    • Hide address fields until search is complete and continue to hide any blank fields
    • Move country field to the top of the address form
    • Manual input option in case user wants to input manually or addrsss could not be found
    • Hide search field after address retrieve is complete
    • Hide region field for countries that do not require region as part of their address (e.g. UK)
  • Consise searching:
    • Highlight the segment of the results that match the search string
    • Set the number of search results shown

Reverse Geocoding

It is also possible to retrieve a user's address using the browser geolocation api. Activating this feature will add a button next to the typeahead field that when clicked will ask the user for permission to access their location, after permission has been granted our integration will collect the location from the device and perform a reverse geocoding lookup that will return a list of the closest addresses to the user's current location.

The button can be configured to use either plain text or HTML, which is useful for stores that wish to show SVG icons instead of text.

This feature works best on mobile devices, with less accuracy on desktop devices. This being the case, it is possible to configure the button to only display on mobile devices.

Email Address Validation

AFD Software's email validation service can not only check whether or not the syntax of an email address is valid, but also if it is a genuine live email address.

After an email address is entered into an email address control, as soon as the control loses focus our plugin will first check the syntax of the email address is correct, if the syntax is valid a request will be sent to the AFD servers to check whether or not the email address is real. If at either point the result is invalid then the form control will become invalid and an error message will be displayed.

This functionality is available on the following forms:

  • Checkout - Logged Out
  • Create New Account
  • My Account - Change email address
  • Contact Us
  • Newsletter Signup
  • Admin - Manage Customer

Email validation is a valuable merchants tool for merchants as it helps prevent typos in email address forms and helps prevent fraud.

Our module comes equipped with the following customisation options:

  • Enable and disable functionality individually for each form
  • Customise error message that is shown when an email address is invalid

Phone Number Validation

AFD Software's phone number validation service can not only check whether or not the format of a phone number is valid, but also if it is a genuine active phone number.

When a phone number is entered into a phone number form control, once the control loses focus, the AFD Magento module will first check whether or not the format of the phone number is correct. If the format is correct, then a request will be sent to AFD's server to check whether or not the phone number is real. If at either point the result is that the phone number is not valid, the form field will be marked as invalid and an error message will be displayed.

Additionally, the field will mask the phone number so that it is displayed in the standard format for that country. For example, UK phone number 01624811711 will be reformatted to 01624 811 711.

This functionality is available on the following forms:

  • Checkout - Shipping and Billing
  • My Account - Address Management
  • Contact Us
  • Admin - Manage Customer Address
  • Admin - Create Order

Our module comes equipped with the following customisation options:

  • Enable and disable functionality individually for each form
  • Customise error message that is shown when a phone number is invalid
  • Set a default country that will be assumed if no international dialing code is entered

Additional Information

This feature is only available to merchants that use Magento Enterprise Edition

When using typeahead searching on the frontend it is possible to capture additional information associated with the captured address. This additional information includes:

  • All standard AFD Postcode Plus data
  • AFD Software's Censation geodemographic data set
  • Occupancy Information
  • Multiple Deprivation Indexes

The data collected is assigned to Magento native "Custom Customer Address Attributes" and so can then be used for filtering and segmenting customers to help analysis and marketing.

The screenshot below is an example of how the data is displayed on the order page in the admin panel.

Find Out More

 

Documentation