Managing Exchange Rates

You can manage exchange rates manually or configure Liferay to update them automatically using an online service. Automatic updates help keep exchange rates current for your storefront.

Enabling automatic currency conversion

By default, Liferay Commerce uses the European Central Bank (ECB) as the exchange rate provider. The ECB updates rates approximately every 24 hours. To use a different provider, see Implementing an Exchange Rate Provider.

To enable automatic updates,

  1. Open the Global Menu (Global Menu), go to the Commerce tab, and click Currencies.

  2. Open the Exchange Rate tab.

  3. Select European Central Bank from the Exchange Rate Provider drop-down.

  4. Set Enable Auto-Update to Yes.

    Enabling European Central Bank conversion

  5. Click Save.

Automatic updates are now enabled.

Changing the Update Interval

By default, exchange rates update every 60 minutes. To change the update interval,

  1. Open the Global Menu (Global Menu), go to the Control Panel tab, and click System Settings.

  2. Click Pricing under the Commerce section.

  3. Click Exchange Rate Auto-Update.

  4. Enter the desired interval in minutes (e.g., 120 for every 2 hours).

  5. Check Enable Auto-Update.

    Changing currency update interval

  6. Click Save.

The system now updates exchange rates at the configured interval.

Warning

To disable this feature, blacklist the component. Do not enter zero or a negative number for the interval.

Setting Exchange Rates Manually

You can also set exchange rates manually:

  1. Open the Global Menu (Global Menu), go to the Commerce tab, and click Currencies.

  2. Click an existing currency (e.g., Chinese Yuan Renminbi)

  3. Enter a new value in the Exchange Rate with US Dollar field (e.g., 6.96).

    Modifying an exchange rate manually

  4. Click Save.

Capabilities

Product

Education

Contact Us

Connect

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