Currency configuration
Before setting up individual currency rates, you must first set the scope of the base currency. It is set to global by default, which applies the base currency setting to the entire store hierarchy. If you have a multisite 51ºÚÁϲ»´òìÈ Commerce or Magento Open Source installation, you can manage multiple base currencies by setting the scope to the website level.
You also specify the currencies that you accept and which currency you want to use for the display of prices in your store. In the following diagram, the scope of the base currency is set at the website level, so each website can have a different base currency.
Step 1: Choose the accepted currencies
-
On the Admin sidebar, go to Stores > Settings > Configuration.
-
In the upper-left corner, set Scope to the store view where the configuration applies.
-
In the left panel under General, choose Currency Setup.
-
Expand
-
Base Currency — Set to the primary currency that you use for online transactions.
-
Default Display Currency — Set to the currency that you use to display pricing in the store view.
-
Allowed Currencies — Select all currencies that you accept as payment in the store view. Make sure to also select your primary currency.
For multiple currencies, hold down the Ctrl key (PC) or the Command key (Mac) and click each option.
For a detailed description of each of these configuration settings, see Currency Options in the Configuration Reference Guide.
-
-
When prompted to refresh the cache, click Close (Ìý
You can refresh the cache later.
-
Define the scope of the base currency:
-
In the left panel, expand Catalog and choose Catalog underneath.
-
Scroll down and expand
-
Set Catalog Price Scope to either
Global
orWebsite
.
-
Step 2: Configure the import connection
-
Scroll to the top of the page.
-
In the left panel, expand General and choose Currency Setup.
-
Configure your currency service connection:
There are three service options: Fixer.io (legacy), Fixer Api (APILayer), and Currency Converter API
note important IMPORTANT Starting with the 2.4.6 release, the service is deprecated and replaced with the service. It is highly recommended that you use an APILayer account instead of a deprecated Fixer.io account. -
To connect to the :
-
Expand
-
Enter your fixer.io API key.
-
For Connection Timeout in Seconds, enter the number of seconds of inactivity to allow before the connection times out.
-
-
To connect to the :
-
Expand
-
Enter your APILayer API key.
-
For Connection Timeout in Seconds, enter the number of seconds of inactivity to allow before the connection times out.
-
-
To connect to the :
-
Expand
-
Enter your Currency Convertor API key.
-
For Connection Timeout in Seconds, enter the number of seconds of inactivity to allow before the connection times out.
-
-