magento2-geo-store-switcher
magento2-geo-store-switcher copied to clipboard
After admin setting Configuration redirection issue
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.
Hi, @wcladesh Did you update Geo IP database in Tobai_GeoIp2 section?
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.
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.
Hi @ytorbyk, is any update?
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?
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.
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
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.?