[Skip to main content](#vessel-content)

#   Put the geolocation plugin into test mode

##

- **[bohemier](/forum/user/8593-bohemier "View bohemier's Profile")**
- [![bohemier's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8593-bohemier "View bohemier's Profile") Topic Author
- [ Offline](/forum/user/8593-bohemier)

Less More

- Posts: 35
- Thank you received: 1
-
-

14 years 2 months ago [\#61440](#61440) by [bohemier](/forum/user/8593-bohemier "View bohemier's Profile")  *[Put the geolocation plugin into test mode](/forum/4-how-to/61440-put-the-geolocation-plugin-into-test-mode#61440 "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")* was created by *[bohemier](/forum/user/8593-bohemier "View bohemier's Profile")*

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYxNDQwLXB1dC10aGUtZ2VvbG9jYXRpb24tcGx1Z2luLWludG8tdGVzdC1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

14 years 2 months ago [\#61506](#61506) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Put the geolocation plugin into test mode](/forum/4-how-to/61440-put-the-geolocation-plugin-into-test-mode#61506 "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")*

Hi bohemier,

You can use a proxy based in other country to try the geolocation plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYxNDQwLXB1dC10aGUtZ2VvbG9jYXRpb24tcGx1Z2luLWludG8tdGVzdC1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bohemier](/forum/user/8593-bohemier "View bohemier's Profile")**
- [![bohemier's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8593-bohemier "View bohemier's Profile") Topic Author
- [ Offline](/forum/user/8593-bohemier)

Less More

- Posts: 35
- Thank you received: 1
-
-

14 years 2 months ago [\#61568](#61568) by [bohemier](/forum/user/8593-bohemier "View bohemier's Profile")  Replied by *[bohemier](/forum/user/8593-bohemier "View bohemier's Profile")* on topic *[Re: Put the geolocation plugin into test mode](/forum/4-how-to/61440-put-the-geolocation-plugin-into-test-mode#61568 "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")*

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?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYxNDQwLXB1dC10aGUtZ2VvbG9jYXRpb24tcGx1Z2luLWludG8tdGVzdC1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

14 years 2 months ago [\#61601](#61601) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Put the geolocation plugin into test mode](/forum/4-how-to/61440-put-the-geolocation-plugin-into-test-mode#61601 "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")*

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.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYxNDQwLXB1dC10aGUtZ2VvbG9jYXRpb24tcGx1Z2luLWludG8tdGVzdC1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[iedwards](/forum/user/12400-iedwards "View iedwards's Profile")**
- [![iedwards's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12400-iedwards "View iedwards's Profile")
- [ Offline](/forum/user/12400-iedwards)

Less More

- Posts: 250
- Thank you received: 7
- [](http://www.estm.co.uk)
-

11 years 8 months ago [\#191977](#191977) by [iedwards](/forum/user/12400-iedwards "View iedwards's Profile")  Replied by *[iedwards](/forum/user/12400-iedwards "View iedwards's Profile")* on topic *[Re: Put the geolocation plugin into test mode](/forum/4-how-to/61440-put-the-geolocation-plugin-into-test-mode#191977 "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")*

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 Edwards Film Sound Recording](https://estm.co.uk)
[ Alveley Mining Heritage](https://alveleyminingheritage.org)
[ Mary Edwards-Porter - Author](https://www.mary-edwards-porter.co.uk)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYxNDQwLXB1dC10aGUtZ2VvbG9jYXRpb24tcGx1Z2luLWludG8tdGVzdC1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

11 years 8 months ago [\#192008](#192008) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Put the geolocation plugin into test mode](/forum/4-how-to/61440-put-the-geolocation-plugin-into-test-mode#192008 "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")*

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.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYxNDQwLXB1dC10aGUtZ2VvbG9jYXRpb24tcGx1Z2luLWludG8tdGVzdC1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[iedwards](/forum/user/12400-iedwards "View iedwards's Profile")**
- [![iedwards's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12400-iedwards "View iedwards's Profile")
- [ Offline](/forum/user/12400-iedwards)

Less More

- Posts: 250
- Thank you received: 7
- [](http://www.estm.co.uk)
-

11 years 8 months ago [\#192025](#192025) by [iedwards](/forum/user/12400-iedwards "View iedwards's Profile")  Replied by *[iedwards](/forum/user/12400-iedwards "View iedwards's Profile")* on topic *[Re: Put the geolocation plugin into test mode](/forum/4-how-to/61440-put-the-geolocation-plugin-into-test-mode#192025 "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")*

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

---

[ Ian Edwards Film Sound Recording](https://estm.co.uk)
[ Alveley Mining Heritage](https://alveleyminingheritage.org)
[ Mary Edwards-Porter - Author](https://www.mary-edwards-porter.co.uk)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYxNDQwLXB1dC10aGUtZ2VvbG9jYXRpb24tcGx1Z2luLWludG8tdGVzdC1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 8 months ago [\#192031](#192031) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Re: Put the geolocation plugin into test mode](/forum/4-how-to/61440-put-the-geolocation-plugin-into-test-mode#192031 "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")*

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.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYxNDQwLXB1dC10aGUtZ2VvbG9jYXRpb24tcGx1Z2luLWludG8tdGVzdC1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[etrader](/forum/user/38705-etrader "View etrader's Profile")**
- [![etrader's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/38705-etrader "View etrader's Profile")
- [ Offline](/forum/user/38705-etrader)

Less More

- Posts: 2
- Thank you received: 0
-
-

11 years 2 months ago [\#213840](#213840) by [etrader](/forum/user/38705-etrader "View etrader's Profile")  Replied by *[etrader](/forum/user/38705-etrader "View etrader's Profile")* on topic *[Re: Put the geolocation plugin into test mode](/forum/4-how-to/61440-put-the-geolocation-plugin-into-test-mode#213840 "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")*

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYxNDQwLXB1dC10aGUtZ2VvbG9jYXRpb24tcGx1Z2luLWludG8tdGVzdC1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86359
- Thank you received: 14296
-
-

11 years 2 months ago [\#213846](#213846) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Put the geolocation plugin into test mode](/forum/4-how-to/61440-put-the-geolocation-plugin-into-test-mode#213846 "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")*

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.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzYxNDQwLXB1dC10aGUtZ2VvbG9jYXRpb24tcGx1Z2luLWludG8tdGVzdC1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.074 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
