Managing Exchange Rates

Exchange rates can be manually managed or automatically updated by an online service. To ensure that the store has the most recent exchange rates, administrators can enable an automatic currency conversion.

Enabling automatic currency conversion

By default, Liferay Commerce relies on the European Central Bank for foreign exchange rates. The ECB updates its exchange rates approximately every 24 hours. See Implementing an Exchange Rate Provider to learn how to implement an alternative exchange rate provider.

To enable automatic exchange rate updates:

  1. Go to the Control PanelCommerceSettings.

  2. Click the Currencies tab.

  3. Click the Exchange Rate screen.

  4. Select European Central Bank from the Exchange Rate Provider dropdown menu.

  5. Toggle the Enable Auto-Update radio button to Yes.

    Enabling European Central Bank conversion

  6. Click Save.

Automatic exchange rate updates are now enabled.

Changing the Update Interval

By default, the exchange rates will be updated every 60 minutes. To increase the frequency that the exchange rates are updated:

  1. Go to the Control PanelConfigurationSystem Settings.

  2. Click Pricing in the Commerce section.

  3. Click Exchange Rate Auto-Update.

  4. Enter a value in minutes: 120 (every 2 hours).

  5. Check the Enable Auto-Update checkbox.

    Changing currency update interval

  6. Click Save.

The Exchange Rate Auto-Update is now enabled and will update currency exchange rates every two hours.

warning

If you require this feature to be disabled, blacklist the component. Do not enter zero or a negative number for the interval.

Setting Exchange Rates Manually

Currency exchange rates can be configured manually by the store administrator.

  1. Go to the Control PanelCommerceSettings.

  2. Click the Currencies tab.

  3. Click on an existing currency (for example, Chinese Yuan Renminbi)

  4. Enter a new value in the Exchange Rate with US Dollar field (for example, 6.96).

    Modifying an exchange rate manually

  5. Click Save.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy