The Commerce Address Locator module is a Drupal Commerce add-on that allows customers to search for and select a shipping or billing address using a geocoder or Google Maps API. This can be useful if a customer wants to select an address from a list of suggestions, or if they want to use a map to pinpoint the exact location of their address.
To use the Commerce Address Locator module, you will need to do the following:
-
Install and enable the module on your Drupal Commerce site.
-
Configure the module to use a geocoder or Google Maps API by entering the appropriate API key and settings.
-
Add the address field widget to the appropriate form on your site, such as the checkout form or the customer profile form.
-
Configure the widget to display the address search and selection functionality as needed.
-
Test the address search and selection functionality to ensure that it is working as expected.
The Commerce Address Locator module can be useful for improving the accuracy and usability of address fields on your Drupal Commerce site. It is recommended to thoroughly test the module before using it in a production environment.