Go Dark Go Light
Stand with Ukraine!  How can you help?

Magento 2 Currency Switcher Extension

Magento 2 Currency Switcher is the extension that allows you to display prices in customers' local currency automatically based on their location (GeoIP). Round off base or converted prices to provide a better customer experience.

Three GeoIP databases, currency by country, location simulator, compatibility with page cache and Varnish. Benefit from these and other features with the Automatic Magento 2 Currency Converter.

  • Display prices in different currencies based on visitors’ location
  • Set currency to display for a specific country
  • Round off prices with 12 different algorithms
  • Use the built-in simulation tool to test the settings
  • Disable auto currency switcher for different robots
  • Use three out-of-the-box databases to detect visitor’s location
one-time payment
Buy Now Free Trial
Purchase as part of the Magento 2 GeoIP Switcher and save 10% OFF.
Display prices in local currencies based on customers location in Magento
Set "currency by country" to display different currencies per different countries
Enable different rounding algorithms in Magento
Live Demo
Compatibility:Magento 2.3.0 - 2.4.7-p1 (CE, EE, ECE, B2B)
hyva compatible
Composer Package
Magento 2 Currency Switcher Extension

Display Prices in Customers’ Currency Automatically

Transparent pricing plays a vital part in the purchasing decision. This includes currencies in which you display your prices.

Although Magento allows you to choose allowed currencies, visitors still have to switch them manually.

But not with the Magento 2 Currency Switcher Extension.

Let it detect customers' location and automatically display prices in their local currency. You don’t have to do anything.

magento 2 currency switcher
auto currency switcher magento

Control What Currency is Displayed

Regardless of the country people come to your website from, they see prices in the default currency. Then, if they want to, they switch to the other currencies.

Eliminate that extra step and display prices in visitors local currency automatically.

Assign each currency to a country and control the price visitors see on every page of your store.

Improve customers' experience with the Automatic Magento 2 Currency Switcher!

Round Off Base/Converted Prices

Based on the currencies and currency rates, different prices may be displayed with decimals.

However, you can fix that with the Magento 2 Currency Converter algorithms. Round off prices (base and converted):

- Round (14.3 -> 14.00, 14.5 -> 15.00)
- Ceil (14.3 -> 15.00, 14.5 -> 15.00)
- Round 10 (12.3 -> 10.00, 17.5 -> 20.00)
- Ceil 10 (12.3 -> 15.00, 17.5 -> 20.00)
- Round .99 (14.3 -> 13.99, 14.5 -> 14.99)
- Ceil .99 (14.3 -> 14.99, 14.5 -> 14.99)
- Round .95 (14.3 -> 13.95, 14.5 -> 14.95)
- Ceil .95 (14.3 -> 14.95, 14.5 -> 14.95)

magento round off prices
magento 2 geoip database

Detect GeoIP Location Properly

Proper GeoIP detection is vital for currency conversion. That’s why we use top GeoIP databases: MaxMind, CloudFlare and PHP GeoIP.

Magento 2 GeoIP Currency Switcher ensures seamless location detection.

Update the GeoIP database manually or let the cron do it for you automatically. No complex configuration required.

Make sure it's a good match!

Uncertain whether the Magento 2 Currency Switcher Extension has all the features you're looking for, or if it aligns with your goals?

Simulate Your Location for Testing

Wondering about the experience your customers get once you set up the Magento Currency Switcher?

Step in your customer's shoes with our location simulator.

Just specify the IP and country you want to simulate and check your storefront. Make sure your customers get the best shopping experience regardless of their location.

magento 2 geoip simulator
auto currency switcher restrictions magento

Disable Auto Currency Switcher for Robots

People are not the only visitors that come to your website. Search engine crawlers visit it regularly too.

However, to avoid SEO issues, you don’t switch currencies for them.

Simply list certain crawlers and bots in a corresponding field to disable the Magento 2 Auto Currency Switcher for them.


Does the currency switcher extension provide support to varnish cache?

Yes, it does. To make the module work properly with the varnish cache you need to modify the Varnish Cache configuration file (by default /etc/varnish/default.vcl) on your server and restart varnish. Please add these lines of code to the varnish config file:

if (req.http.cookie !~ "PHPSESSID=" && req.http.User-Agent !~ "bot" && req.http.User-Agent !~ "loader") {
return (pass);

With this setting, your store will be displayed without varnish cache during the first visit. You need to do this as the GeoIP detections held on the PHP level, and you need to allow varnish to skip the first visitor's request to make GeoIP detection possible. Check varnish configuration for better GeoIP detection guide for more information.


Can I install Magento 2 Auto Currency Switcher module via the composer?

Yes, you can. All our modules can be installed via the composer. Once you purchase the extension, you receive keys to the private Magefan composer repository and find the composer installation commands available in the "My Downloads" section.


What is a currency switcher?

Currency Switcher is a manual switcher option usually in the header of a website that displays all available currencies on a store. Customers use it to see prices in their preferred currency.


How do I change currency in Magento 2?

To change currency in Magento 2 go to Admin > System > Configuration > Currency Set Up and select default and allowed currencies for your store.


How do I change currency symbol in Magento 2?

To change currency symbol in Magento 2 go to Stores > Currency > Currency Symbols and set the currency symbols you want.

People Also Searched For
  • magento 2 currency switcher
  • magento 2 currency converter
  • magento currency switcher
  • magento currency conversion
  • magento 2 geoip currency switcher
  • magento 2 geoip currency switcher
  • magento 2 currency conversion
  • magento 2 auto currency switcher
  • magento 2 geolocation currency converter
  • currency switcher magento
  • auto currency switcher
Quick Overview Video

Want your business to become global and seek the best way to do so? This is the case Magento 2 Auto Currency Switcher Extension by Magefan comes in handy. Attract more customers by displaying them prices in their local currency.

Check out this short video where we describe all the features our module has.
Related Products
Magento 2 Language and Store Switcher Extension
Language and Store Switcher
one-time payment
Magento 2 Translation
one-time payment
Magento 2 GeoIP Switcher
GeoIP Store Switcher
Special Price $149 Regular Price $178
one-time payment
Magento 2 Hreflang
Hreflang Tags
one-time payment
Magento 2 SEO Extension
one-time payment
Magento 2 WebP Images
WebP Images
one-time payment
What our
clients say

We just installed the extension and we had amazing help from Magefan team to help us out. Everything works fine for us and all the currencies are working for each IP address. Thanks again !

Joao Zimermann
Brands Who Trust Us
Magento 2 Currency Switcher Extension
Live Demo