magento2-geo-store-switcher icon indicating copy to clipboard operation
magento2-geo-store-switcher copied to clipboard

After admin setting Configuration redirection issue

Open wcladesh opened this issue 6 years ago • 8 comments

Hello, I have Installed this module in our server with composer and configured it properly. Currently, we are running multi-store/website and need to switch the website as per condition:

If User Ip is Australia then it should redirect to default store (au) and if IP location is rest of word it should redirect to USA website means

www.example.com/us

We have configured it properly and when we set the country and assign store code then it is redirecting to Default Luma 404 page.

Please suggest and help us to resolve this issue.

Since we are going to live Magento website soon, please resolve that issue ASAP.

Thanks.

wcladesh avatar Aug 01 '18 13:08 wcladesh

Hi, @wcladesh Did you update Geo IP database in Tobai_GeoIp2 section?

ytorbyk avatar Aug 01 '18 19:08 ytorbyk

I was able to configure Magento OS 2.2.5 with the extension to change store/website depending on IP.

However as I understood you need to redirect customers by IP address, the extension doesn't redirect, it changes store behind the scene. So you have the same url www.example.com but for Australia IP addresses it will be au store and for rest of word it could be us store.

ytorbyk avatar Aug 01 '18 20:08 ytorbyk

Hi @ytorbyk,

thanks for your quick reply,

After settings configuration, It is working fine as per detecting IP of the country behind the scene but the problem is raised when you manually changed URL or store. Websites links have old URL while manually switch URL.

e.g we have two stores "au" and "us".

"au" for Australia IP and others for "us" store. Its working fine while detecting IP but when we manually switch website by changing url then websites links have old URL. While it should work as user choice.

Please let me know will this work as existing code or need some customization.

Please help me.

wcladesh avatar Aug 03 '18 06:08 wcladesh

Hi @ytorbyk, is any update?

wcladesh avatar Aug 06 '18 06:08 wcladesh

Hello @ytorbyk , Please help me to resolve the above issue in the earlier comment.

The extension is working fine and switching store as per IP address but when we trying to Manually switch the store using store switcher then it's not working.

Can you please let us know if this feature is available by default or do we need to customize?

wcladesh avatar Sep 10 '18 11:09 wcladesh

Hi @wcladesh, I apologize for such long response.

Actually switching manually should work, it sets cookies or pass store code as GET param and it should overwrite the StoreSwitcher.

ytorbyk avatar Sep 29 '18 15:09 ytorbyk

Hello @ytorbyk , Please help me to resolve the above issue in the earlier comment.

The extension is working fine and switching store as per IP address but when we trying to Manually switch the store using store switcher then it's not working.

Can you please let us know if this feature is available by default or do we need to customize?

did u get the solution, i am having the same issue

ash-b avatar Dec 06 '18 05:12 ash-b

Hi, The extension is working fine and switching store as per IP address but when we trying to Manually switch the store using store switcher then it's not working. I need to solve this issue. Anyone get a solution for this.?

ask694 avatar Apr 08 '19 13:04 ask694