With a big catalog of 224+ extensions for your online store
How to Configure Currency in Magento 2
Configure Currency Magento 2 to determine what currency customers are allowed to use when checking out of your store. The currency symbol will appear in product prices and sales documents such as orders and invoices. Most interestingly, store admins are able to customize its appearance if needed.
Moreover, with Magento 2 configuration, you can set more than 200 currency units of the corresponding countries in the world. If your store accepts multiple currencies, Currency Chooser is available in the header of the storefront. This helps your store easily reach the global market, as well as enhance customers’ experience. Once they are satisfied with the experience on your site, they tend to make faster purchase decisions and become a loyal customer. So today, let’s discover how to set up currency on the Magento 2 platform, modify the symbol of currency, and update the currency rates.
Recommend post
- Free Currency Formatter for Magento 2
- How to get Currency data in Magento 2
- Magento 2 Language & Currency Switcher
Table of Contents
- 4 Steps to Configure Currency in Magento 2
- Modify the currency symbols
- Update Currency Rates
- A better solution for your store
4 Steps to Configure Currency in Magento 2
Step 1: Select the Allowed Currencies
Firstly, you need to define which currencies are accepted to appear along with the price on your store.
- On the Admin Panel, go
Stores > Settings > Configuration
. - On the left panel, under
General
, selectCurrency Setup
. - Open the
Currency Options
section,- Choose the primary currency for the
Base Currency
in the online transaction. - Assign
Default Display Currency
to the currency that you use to display pricing in your store. - In the
Allowed Currencies
list, collect any currencies you need for the payment in your store. If you want to support multiple currencies, hold down the Ctrl key and select each option.
- Choose the primary currency for the
- When the system message reminding the cache refreshment appears,
Close
it and refresh it later. - To determine the scope of the base currency, you need to:
- On the left panel, under
Catalog
, selectCatalog
, and open thePrice
section. - Set
Catalog Price Scope
to either “Global” or “Website”.
- On the left panel, under
Step 2: Set the Import Connection
Next, you have to set up a timeout for inactivity:
- On the left panel, under
General
, selectCurrency Setup
. -
Set up your currency service connection by choosing from three available options: Fixer.io (legacy), Fixer API (APILayer), and Currency Converter API. To connect to these options:
-
Expand Fixer.io (legacy)/Fixer API (APILayer)/Currency Converter API section, then enter your API key.
- For Connection Timeout in Seconds, provide the second number of inactivity to allow before the connection time runs out.
NOTE: Beginning with the 2.4.6 release, the Fixer.io service has been deprecated and is now replaced by the Fixer API (APILayer) service. It is strongly recommended to utilize an APILayer account instead of continuing with an outdated Fixer.io account.
Step 3: Complete the Scheduled Import Settings
Scheduled Import Settings enable the currency rate to be automatically updated:
- Continuing in the
Currency Setup
tab, open theScheduled Import Settings
section. - If you want to auto-update currency rate, choose “Yes” in the
Enabled
field. Then do the following:- Set
Service
by selecting the existing list and the default value is “Webservicex”. - Set
Start Time
(hours, minutes, seconds) to auto-update the rate. - Set
Frequency
for the rate updating: Daily, Weekly, or Monthly. - In the
Error Email Recipient
field, you will insert an email address which receives the email notification when there is any error in the import process. If you enter many emails, the comma is used to separate them. - Set
Error Email Sender
who will appear on the email notification - Set
Error Email Template
to the email template used for the error notification.
- Set
Save Config
to complete.- When the system message displays together with the “Cache Management” link, you need to click on the link to refresh the invalid cache.
Step 4: Refresh the Currency Rates
Make sure that the currency rates have been already updated with the current values before they go into effect. Scroll down this post and get the guide to update the rates manually even or to import the rates automatically.
Modify the currency symbols
As mentioned above, you can modify the currency symbols comfortably.
- On the Admin Panel,
Stores > Currency > Currency Symbols
. - Enable to use the standard symbol or clear the
Use Standard
checkbox and insert a custom symbol as you want. Save Currency Symbols
to enable the new symbol.- Remember to refresh the cache by clicking the “Cache Management” link on the sysstem message.
Update Currency Rates
Before updating the currency rates, ensure that the current rate configuration is ready to use. The currency rates can be set manually, or imported into the store. In particular, you can configure the currency rates to be auto-updated on schedule and these rates are always latest.
Update a Currency Rate as manual
- On the Admin,
Stores > Currency > Currency Rates
. - Choose the rate you want to change, and overwrite a new value for each currency supported.
- Click
Save Currency Rates
to enable it.
Import Currency Rates
- On the Admin,
Stores > Currency > Currency Rates
. - Choose the
Import Service
while “WebserviceX” is the default service. - Click on the
Import
button.
The updated rates appear in the Currency Rates list. If the rates have changed since the last update, the old rate appears below for reference.
Save Currency Rates
to enable it.- Remember to refresh the cache by clicking the “Cache Management” link on the system message.
Import Currency Rates on Schedule
- Enable Cron (Schedule Task) on your store.
- Complete the Currency Rate Setup and establish the import connection and schedule.
- To ensure that the import runs well on schedule, let check the Currency Rates list. Then, wait for the duration of the frequency setting established for the schedule, and check the rates again.
A better solution for your store
The default Magento 2 only gives simple configuration when it comes to setting up currency, while we understand that your needs are beyond. That is why we bring you our Currency Formatter solution. Let’s find out what features it offers:
- Enable flexible options of Currency symbols and their places
- Adjust the thousands separator based on the preferred country (dot, comma, space, or none)
- Configure decimal separator sign and digit
- Change positions of the minus sign (before or after value/symbol)
The bottom line
Allowing customers to view products and make payment in their preferred currency by configuring currency for your Magento 2 store is a great tactic. Not only does it increase conversion rates and boost sales, but it also provides personalized experience and retains customers in the long term. You can either do this on the default Magento 2, or take it to the next level by using our module with more flexible options, easier settings, and other exclusive features. Go ahead and come chat with us if you have anything to share!
Related Post
Looking for
Customization & Development Services?
8+ years of experiences in e-commerce & Magento has prepared us for any challenges, so that we can lead you to your success.
Get free consultantRecent Tutorials
How to insert Order Attributes to Transactional Emails
How to insert Order Attributes to Transactional Emails
How to add Order Attributes to PDF Order Template
Explore Our Products:
People also searched for
- magento 2 currency switcher
- magento 2 currency
- magento 2 currency converter
- magento 2 multi currency setup
- currency converter magento 2
- multi currency magento 2
- magento 2 change currency
- currency switcher magento 2
- how to change currency in magento 2
- magento 2 currency symbol
- magento 2 currency setup
- magento 2 multi currency
- magento 2 currency rates
- magento 2 multiple currencies
- magento 2 currency format
- magento 2 currency conversion
- magento change currency
- magento 2 change currency symbol
- magento multi currency
- magento 2 change currency format
- how to add multiple currency in magento 2
- magento 2 change currency programmatically
- magento 2 format currency
- magento currency service
- magento currency conversion
- magento 2 set currency programmatically
- magento multiple currency
- magento currency switcher
- magento 2 currency convert programmatically
- magento 2 convert price to current currency
- 2.3.x, 2.4.x
Stay in the know
Get special offers on the latest news from Mageplaza.
Earn $10 in reward now!