Skip to main content

user google maps

More
7 years 11 months ago - 7 years 11 months ago #299165 by aminweb
user google maps was created by aminweb
-- 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 | am.ebrahimzadeh[at]gmail.com
Last edit: 7 years 11 months ago by aminweb.

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

More
7 years 11 months ago #299174 by nicolas
Replied by nicolas on topic user google maps
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.139 seconds
Powered by Kunena Forum