AbanteCart Community

eCommerce construction => How-to questions => Topic started by: RCodiaDavid on June 07, 2023, 02:38:26 PM

Title: Change account details entry form to include Google Autocomplete
Post by: RCodiaDavid on June 07, 2023, 02:38:26 PM
Hi,

Been trying to dig through the code now for a while to try and find a way that we can implement Google API's to have addresses autocomplete to reduce user input errors.

However, this seems like a much more complicated task than I envisioned.

I have a HTML test page working and it works (as far as the Google bit) in an HTML block. But I'm unable to find the file (or files) that need to be changed to integrate something like this in AbanteCart's account stuff. I suppose it would need to be in several places for when a user first signs up, and also when they add/change addresses.

Can anyone shed any light on how we might go about this?

Thanks
David
Title: Re: Change account details entry form to include Google Autocomplete
Post by: Basara on June 08, 2023, 01:20:30 AM
Hello.
You can check the .tpl pages for the account or address pages. For the default template these https://github.com/abantecart/abantecart-src/tree/master/public_html/storefront/view/default/template/pages/account