Magento 2 Currency by Country: Suggestion Instead of Forced Switch
SKU: GEOCURRENCYSWITCH1
- detects the visitor country and suggests the matching currency
- notice bar with accept and dismiss, never a forced switch
- country-to-currency table is editable, fallback currency selectable
- remembers the decision, search engine crawlers stay untouched
Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.
Magento 2 Currency by Country: a suggestion that leaves the decision to the visitor
With Magento 2 currency by country from Mironsoft your shop detects the origin of a visitor and shows a discreet notice bar: would you like to see prices in Swiss francs? The visitor accepts with one click or dismisses it. There is no redirect and no automatic switch that causes confusion. The bar is an Alpine.js component for Hyvä and needs no additional library.
Country detection
The country is determined on the server from the request, using a GeoIP database or the country header of your CDN.
Currency suggestion
A notice bar names the matching currency and optionally shows a sample price.
No forced switch
The displayed currency only changes when the visitor clicks accept.
Mapping table
In the admin you set the suggested currency per country, with a fallback for all other countries.
Remember the decision
Accept and dismiss are stored in a cookie, so the bar does not return on the next page.
Exclude crawlers
Bots and search engines do not see the bar, so your pages stay unchanged for indexing.
Why Magento 2 currency by country beats a plain currency switcher
The default Magento switcher expects visitors to find and use it. Many never do. Someone from Austria or Switzerland who sees prices in euros either converts in their head or leaves. Merchants therefore search for Magento 2 currency by country, for ways to detect the currency by location, or for a Magento 2 currency suggestion.
A hard switch based on the IP address is not a good answer either: a commuter, a traveller or someone using a VPN suddenly gets prices in a currency they do not expect. The suggestion combines both worlds. Magento 2 currency by country helps the visitor without taking over, and leaves your pages unchanged for search engines.
Detect Magento 2 currency by country: GeoIP or CDN header
The module reads the country either from a local GeoIP database file or from a country header set by your CDN or reverse proxy. The lookup runs through a small, uncached endpoint so that the full page cache stays intact. The IP address is not stored; it is only used to determine the country. The legal assessment under data protection law remains with the shop operator.
- GeoIP database or country header selectable as source
- Uncached endpoint, full page cache stays active
- No storage of the IP address by the module
The notice bar: suggest a currency without getting in the way
The bar appears at the top of the shop or as a small card at the bottom and names country and currency in plain words. Two buttons are enough: switch or keep. You maintain text and buttons per store view so the language fits the shop. The bar uses your Hyvä colours, needs no jQuery and can be adjusted with Tailwind classes.
- Position top or bottom, text per store view
- Sample price in the suggested currency optional
- Alpine.js component without extra JavaScript
Map countries to currencies: only currencies the shop actually offers
For Magento 2 currency by country you assign each country, in a table, its suggested currency, for example Switzerland to CHF or Poland to PLN. The module only suggests currencies that are enabled as allowed in the respective store and for which an exchange rate exists. If the rate is missing, the bar stays silent instead of showing prices with a wrong factor.
- One row per country, fallback for all others
- Suggestion only for enabled currency with a rate
- Same currency as displayed: no bar
Remember the decision and check the effect in the admin
Once the visitor has decided, Magento 2 currency by country remembers the choice for an adjustable number of days. Anyone who dismisses is not asked again. In the admin you see simple counters: how often the bar appeared, how often it was accepted and how often dismissed. This shows whether the suggestion reaches your visitors. The cookie is technically required for this function; classifying it in your cookie banner is up to you.
- Remember period adjustable in days
- Counters for shown, accepted and dismissed
- Cookie without personal data
Where Magento 2 currency by country helps in everyday shop work
Typical situations in which a suggestion works better than a hidden switcher.
Shops in the DACH region
With Magento 2 currency by country, visitors from Switzerland see the note about francs, visitors from Austria stay on euro. Both know immediately what an item costs.
Border markets
Customers from Poland, the Czech Republic or Denmark are offered their local currency and order without mental arithmetic.
Multilingual stores
Language and currency are separate decisions. The suggestion only changes the currency, the language stays as chosen.
Campaigns from abroad
Ads in neighbouring countries lead to a page that offers the familiar currency straight away, without a detour through the switcher.
Magento 2 currency by country: without and with the module
Magento 2 currency by country compared with the plain default switcher.
| Topic | Without module | With Mironsoft Geo Currency Suggestion |
|---|---|---|
| Discoverability | Visitors have to look for the switcher | The suggestion appears by itself |
| Control | Either manual or a hard IP switch | The visitor decides with one click |
| Search engines | Risk with a forced switch | Crawlers see unchanged pages |
| Maintenance | No assignment by country possible | Country-to-currency table in the admin |
| Measurement | No figures | Counters for shown, accepted, dismissed |
How we set up Magento 2 currency by country for you
The process after you place your order.
Alignment
You name the target countries, the currencies and the preferred country source, GeoIP or CDN header.
Installation
We install the module for Magento 2 currency by country, fill in the mapping table and check that an exchange rate is maintained for every currency.
Design
We set text and colours of the notice bar per store view to match your Hyvä theme.
Testing
We test the suggestion with different countries, the remember function, the crawler exclusion and the full page cache.
Handover
Your team receives an introduction to table, texts and statistics.
Difference to the country store switcher and automatic language detection
The country store switcher from Mironsoft sends visitors to the matching store, and the automatic language detection picks the language. The module for Magento 2 currency by country does neither: it changes neither store nor language and only offers the currency. It also leaves price formatting and decimal places alone.
The modules can be combined, for example language detection for the text and a currency suggestion for the price. Everything runs with Alpine.js in the Hyvä theme, without an additional library.
No download — personal setup instead
Geo Currency Suggestion is not listed here as a ready-made download file for self-installation. The purchase is a service commission: we get in touch after the purchase, install the module in your shop and agree on countries, currencies and the wording of the notice bar together with you.
Frequently asked questions
Everything important about detection, privacy, exchange rates and how the purchase works.
How can I suggest the currency by country in Magento 2?
How can I detect the currency by location in Magento 2?
Is the currency switched without asking with Magento 2 currency by country?
Which currencies can the module suggest?
Does the suggestion hurt my SEO?
How can I use Magento 2 currency by country with the full page cache?
Is the IP address stored?
Does it work with several store views?
How does this differ from the country store switcher?
Can I download and install the module myself?
Magento 2 Currency by Country – Mironsoft Geo Currency Suggestion