专注于magento建站与magento二次开发
提供magento教程 magento模板 magento插件

Magento 2 如何设置货币本位币

Magento 2 货币配置

 

步骤 1: 选择允许的货币

  • On the Admin Panel, go Stores > Settings > Configuration.
  • On the left panel, under General, select Currency 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 support multiple currencies, hold down the Ctrl key and select each option.

How to Configure Currency Currency Options

  • 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, select Catalog, and open the Price section.
    • Set Catalog Price Scope to either “Global” or “Website”.

How to Configure Currency Catalog Price Scope

Step 2: 设置汇率导入设置

  • On the left panel, under General, select Currency Setup.
  • Open the WebserviceX section, enter the accepted duration (in seconds) of inactivity before the connection times out in the Connection Timeout in Seconds field.

How to Configure Currency Webservicex

Step 3: 配置按计划导入

  • Continuing in the Currency Setup tab, open the Scheduled 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, munites, seconds) to auto-update the rate.
    • Set Frequence 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 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.
  • Save Config to complete.
  • When the system message displays together with “Cache Management” link, you need to click on the link to refresh the invalid cache.

How to Configure Currency Scheduled Import Settings

步骤 4: 刷新汇率

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.

How to Configure Currency Currency Symbols

  • 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.

更新货币汇率

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. Especially, you can configure the currency rates to be auto-update on schedule and this rates are always lastest.

How to Configure Currency Currency Rates

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 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 sysstem 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 run 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.

更多教程,请查看Magento教程

赞(0) 打赏
未经允许不得转载:magento建站专家 - magento4you » Magento 2 如何设置货币本位币
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

magento建站magento二次开发联系QQ283475615

联系我们立即咨询

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏