skip to Main Content

Implementing Google Maps Address Auto complete in X-Cart 4

Implementing Google Maps Address Auto Complete In X-Cart 4

I am working on implementing google maps to autocomplete the address fields on the x-cart checkout. The screenshot above shows how it would work. You start entering your address and a list is returned by the google maps api. When you click on your address, the fields are pre populated.

The next stage is to implement this into the X-Cart 4 checkout

Here is the stand alone code for the example shown. Replace the API KEY with your own.

Back To Top