- Posts: 35
- Thank you received: 1
Put the geolocation plugin into test mode
14 years 2 months ago #61440
by bohemier
Put the geolocation plugin into test mode was created by bohemier
Hello,
In order to test the different zone/currency assignments, I would need the geolocation plugin to be able to return a specific zone instead of my real location. That would be a nice addition to the plugin parameters. Until then, how could I simulate this?
Thanks
In order to test the different zone/currency assignments, I would need the geolocation plugin to be able to return a specific zone instead of my real location. That would be a nice addition to the plugin parameters. Until then, how could I simulate this?
Thanks
Please Log in or Create an account to join the conversation.
14 years 2 months ago #61506
by Xavier
Replied by Xavier on topic Re: Put the geolocation plugin into test mode
Hi bohemier,
You can use a proxy based in other country to try the geolocation plugin.
You can use a proxy based in other country to try the geolocation plugin.
Please Log in or Create an account to join the conversation.
14 years 2 months ago #61568
by bohemier
Replied by bohemier on topic Re: Put the geolocation plugin into test mode
Hi Xavier,
I tried to use proxies but it seems that the ipinfodb service still knows where I am, even though I use a proxy in another country (and even though ipinfodb lists me in the proxy country on their home page).
I made a simple addition to the plugin parameters and plugin code to add a test zone. Are you interested in that addition?
I tried to use proxies but it seems that the ipinfodb service still knows where I am, even though I use a proxy in another country (and even though ipinfodb lists me in the proxy country on their home page).
I made a simple addition to the plugin parameters and plugin code to add a test zone. Are you interested in that addition?
Please Log in or Create an account to join the conversation.
14 years 2 months ago #61601
by nicolas
Replied by nicolas on topic Re: Put the geolocation plugin into test mode
Well, The best is really to try with a proxy. You need to use an anonymous proxy. Otherwise, it will detect your real IP.
Also, you need to clear your browser's cookies and login/logout before each test. Otherwise, the information is cached in the session in order to not flood the Geolocation service.
Also, you need to clear your browser's cookies and login/logout before each test. Otherwise, the information is cached in the session in order to not flood the Geolocation service.
Please Log in or Create an account to join the conversation.
11 years 8 months ago #191977
by iedwards
Replied by iedwards on topic Re: Put the geolocation plugin into test mode
Actually a test mode to the Geolocation plugin would be very useful, I'd like to use it to set currency but have no way of knowing it's working. Using a proxy isn't actually practical in a development environment.
Ian
Ian
Please Log in or Create an account to join the conversation.
11 years 8 months ago #192008
by nicolas
Replied by nicolas on topic Re: Put the geolocation plugin into test mode
Hi,
Thank you for your feedback.
The thing is that adding a test mode to the plugin to enter the zone you want to force would then bypass the geolocation process and thus bypass your tests. I'm afraid that these tests will have to be performed on an online development environment so that you can use proxies if you want to completely test the geolocation system.
Thank you for your feedback.
The thing is that adding a test mode to the plugin to enter the zone you want to force would then bypass the geolocation process and thus bypass your tests. I'm afraid that these tests will have to be performed on an online development environment so that you can use proxies if you want to completely test the geolocation system.
Please Log in or Create an account to join the conversation.
11 years 8 months ago #192025
by iedwards
Replied by iedwards on topic Re: Put the geolocation plugin into test mode
Hi Nicolas,
Thanks for the reply, but yes, that's the whole point of having a test mode, to make it think it's in a different location and test how Hikashop responds. I understand what you are saying, it's not a test of the whole system, but a test mode would give me a bit more confidence that the part of the process I am in control of is going to do what I'm expecting.
Ian
Thanks for the reply, but yes, that's the whole point of having a test mode, to make it think it's in a different location and test how Hikashop responds. I understand what you are saying, it's not a test of the whole system, but a test mode would give me a bit more confidence that the part of the process I am in control of is going to do what I'm expecting.
Ian
Please Log in or Create an account to join the conversation.
11 years 8 months ago #192031
by Xavier
Replied by Xavier on topic Re: Put the geolocation plugin into test mode
Hi,
In the latest version of Internet explorer, under the "emulation" tab of the console (F12) you can simulate a location.
So to do our tests, it seems to be the easiest way at this time.
In the latest version of Internet explorer, under the "emulation" tab of the console (F12) you can simulate a location.
So to do our tests, it seems to be the easiest way at this time.
Please Log in or Create an account to join the conversation.
11 years 2 months ago #213840
by etrader
Replied by etrader on topic Re: Put the geolocation plugin into test mode
Hello Xavier, I am also interested to set an IP in the plugin for development purposes.
Does the GeoIP locator not still look use the location based on the IP fed to the locator service instead of a GPS locator from Internet Explorer?
Thanks,
Frank
Does the GeoIP locator not still look use the location based on the IP fed to the locator service instead of a GPS locator from Internet Explorer?
Thanks,
Frank
Please Log in or Create an account to join the conversation.
11 years 2 months ago #213846
by nicolas
Replied by nicolas on topic Re: Put the geolocation plugin into test mode
Hi,
The geolocation IP uses the IP of your computer. It has nothing to do with Internet Explorer. Internet Explorer has an option to feed the geolocation system a fake IP address (for tests), but you can also do it by connecting to your website through a web proxy.
The geolocation IP uses the IP of your computer. It has nothing to do with Internet Explorer. Internet Explorer has an option to feed the geolocation system a fake IP address (for tests), but you can also do it by connecting to your website through a web proxy.
Please Log in or Create an account to join the conversation.
Time to create page: 0.084 seconds