When a visitor comes from a country covered by another store view, a bar appears at the top of the page, for example We think you are in Croatia. Would you like to switch? The Go to button takes them to the suggested store, and Stay on closes the bar. If you like, a list of all languages can be shown next to it.
Before you start
- a list of which countries each language or store view covers (for example Slovenian: Slovenia; Croatian: Croatia, Bosnia and Herzegovina).
1. Switch on the module
Stores › Configuration › Magelan › Location suggestion
In the Settings section, set Enabled to Yes.
Offer all store views set to Yes adds a list of all languages next to the suggestion.
Leave Allow ?geo_test= parameter on No. This option is for testing only.

- Enabled - Yes.
- Offer all store views - a list of all languages.
- Allow ?geo_test= parameter - for testing only, No on a live shop.
Click Save Config.
2. Countries per store view
At the top left, under Scope:, choose a store view, for example the Slovenian one. The countries field only appears at store view level.
Under Countries served by this store view, choose the countries (hold Ctrl to choose several).

Countries served by this store view - the countries for this view. Click Save Config and repeat for each store view.
?geo_test=DE to the address. Keep it switched off in a live shop.How the shop finds out the country
It reads the country from information sent by the server or by an intermediary such as Cloudflare, or from an IP address database if one is installed. If it cannot find out the country, it does not show the bar. Once a visitor closes the bar, it does not appear for them again for a year.
Common problems
I cannot see the bar
From Slovenia you do not see it on the Slovenian store view, because you are already in the right store. You may also have closed it already. Try a private browser window on another language.
The bar does not show for anyone
The server may not be sending the country information, or no countries are assigned to any store view. Check the settings per store view and write to us.


