Magento Tutorials

How to Add Currency Switcher based on GeoIP in Magento 2

Hello Magento Folks,

In this tutorial blog, I will help you to Add Currency Switcher based on GeoIP in Magento 2. Also, check out my previously published blog where I have illustrated How to Setup Fixed Product Tax in Magento 2. Let’s Get Started.

In this fast and trending world, everything is transforming to automatic. Therefore to provide flexibility to your store customers for paying the local currency rather than the default currency they have set using the Magento 2 GeoIP Currency Switcher which identifies the customer’s location automatically and switches your store’s currency to that specific location’s currency. The extensions function by automatically identifying the customer’s IP location and modifying the currency.

Steps to Add Currency Switcher based on GeoIP in Magento 2:

Step 1: Firstly, download the Magento 2 GeoIP Currency Switcher extension given below

Step 2: After the installation of the extension. 

Navigate to Stores>configuration.

GeoIP Currency Switcher: Set the extension to enable mode.

Switch Currency Manually: For letting the customer select the currency manually set this option to YES else NO. Recommended setting NO.

GeoIP Database Download History: Admin will need to download the New database and sync with the official Maxmind GeoIP Database automatically.

Step 3: Verify the configurations in the frontend of your store.

After the configuration, the module will automatically switch Geo locations by detecting the different IP locations of the visitors. 

For switching the currency to the Indian IP: 

For switching the currency to the United States IP:

For switching the currency to the United Kingdom

That’s It.

Wrap Up:

Hopefully, all are able to add Currency Switcher based on GeoIP in their Magento stores successfully by following the above illustration. If you come across any errors/difficulties while configuring the Currency Switcher based on GeoIP in your Magento 2 store then you can comment down in the comment section below I will help you there.

Share the solution with your Magento friends.

Happy Reading!

Click to rate this post!
[Total: 2 Average: 5]
Gaurav Jain

Gaurav Jain is Co-Founder and Adobe Certified Expert-Magento Commerce Business Practitioner. Being Computer Engineer?‍? and possessing Extensive Marketing skills he handles all kinds of customer Queries and his Happy? & Helping? Nature makes customer's day Delightful. When he isn’t working, you’ll find Gaurav Reading on Books? or Traveling?. Also, he is Speaker at Magento Meetups.

Recent Posts

Generating Thumbnails with Spatie Media Library in Laravel 11: A Step-by-Step Guide

Generating image thumbnails is a common requirement in web applications, especially when handling media-heavy content.…

18 hours ago

Enhancing Web Application Security with Laravel’s Built-In Features

In today’s digital landscape, web application security is paramount. As a powerful PHP framework, Laravel…

2 days ago

Magento 2 Extensions Digest October 2024 (New Release & Updates)

October was an exciting month for MageComp! From significant updates across our Magento 2 extension…

2 days ago

Improving Error Handling and Transition Management in Remix with useRouteError and useViewTransitionState

In modern web development, seamless navigation and state management are crucial for delivering a smooth…

1 week ago

Magento Open Source 2.4.8-Beta Release Notes

Magento Open Source 2.4.8 beta version released on October  8, 2024. The latest release of…

2 weeks ago

How to Create Catalog Price Rule in Magento 2 Programmatically?

Hello Magento Friends, Creating catalog price rules programmatically in Magento 2 can be a valuable…

2 weeks ago