Managing Exchange Rates for Commerce 2.1 and Earlier Versions

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 drop-down 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, blocklist 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.

Recipes related to this article
Migrating Your Database from MySQL to PostgreSQL

This recipe guides the user on how to migrate from MySQL to PostgreSQL database.

Published Date: Feb 27, 25, 7:28 PM
Using Zapier to Sync Object Data with Google Sheets

This recipe guides you through the steps required to use webhooks to trigger sync tasks between Liferay Objects and Google Sheets using Zapier.

Published Date: Nov 14, 24, 4:15 PM
Building a Reusable and Dynamic Accordion With Fragments
Published Date: Aug 19, 24, 4:54 PM

Capabilities

Product

Education

Contact Us

Connect

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