user google maps

  • Posts: 129
  • Thank you received: 3
5 years 6 months ago #299165

-- HikaShop version -- : 4
-- Joomla version -- : 3.16

hi,
I want when user add addreess in checkout Billing or Shiping address , use google maps (geolocation my current location).
is it possibile? how do it?
so thanks


Joomla Developer | contact [at] yool.ir
Last edit: 5 years 6 months ago by aminweb.

Please Log in or Create an account to join the conversation.

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
5 years 6 months ago #299174

Hi,

The geolocation systems, which base themselves on your IP address, can only be a rough guess at where you are. They can give the country, the state and sometimes the city. But they normally can't give you the street name or number. And sometimes the city is not possible or not accurate enough.
So adding such capability to try to autofill the address fields would be kind of klunky I think.
On top of that, most browsers have auto fill systems so that the customers can easily fill automatically an address form based on previous similar address forms.
Now if you really want to do something, we do have a trigger onHikashopBeforeDisplayView in HikaShop so that you can prefill the address fields automatically just before the address form view is being displayed thank to a custom plugin you could develop:
www.hikashop.com/support/documentation/6...hopBeforeDisplayView

The following user(s) said Thank You: aminweb

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum