get customer location in hikashop checkout

  • Posts: 124
  • Thank you received: 6
1 year 7 months ago #350935

Hi
How can i get customer location in checkout progress?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 7 months ago #350936

Hi,

It's hard to say anything useful without first better understanding the situation and what you're trying to do.
What kind of location are you looking for ? The address of the user ? The address of the user is usually entered by the user himself. The country of the user based on his IP address ? Something else ?
What do you want to do with the location ?
And where in the checkout ? In a view override ? Or in a plugin event of the HikaShop Checkout API ? Or somewhere else ?

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

  • Posts: 124
  • Thank you received: 6
1 year 5 months ago #352050

Hi
I need to displays the Google map, and the user clicks on his location on the Google map, and can get the user's location during the checkout stage. Similar to the picture below:

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 5 months ago #352052

Hi,

Then, I would recommend this plugin:
www.hikashop.com/marketplace/product/247-address-auto-fill.html
This uses the location provided by the browser to allow the customer to easily input his address, usually with only a few letters / numbers

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

Time to create page: 0.070 seconds
Powered by Kunena Forum