Currencies

Liferay comes with multiple currencies pre-configured for use. If a desired currency is not already included, you can add a new one. See the Currencies Reference on how to enter specific values in the correct format.

To add a new currency,

  1. Open the Global Menu (Applications Menu icon) and navigate to CommerceCurrencies.

  2. Click New.

  3. Enter the data below:

    • Name: New Zealand Dollar
    • Code: NZD (ISO code)
    • Format Pattern: $###,##0.00
    • Maximum Decimal places: 2
    • Minimum Decimal places: 2
    • Rounding Mode: HALF EVEN
    • Exchange Rate: 1.49701
    • Priority: 11
  4. Leave the Primary toggle to NO.

    Adding a currency

  5. Switch the Active toggle to Yes.

  6. Click Save.

  • Format Pattern requires the currency’s sign, the number of digits to come between commas, and the places to display. For example, in the format $###,##0.00 for US dollars, the places held by 0 are always displayed (as 0 if no other digit is present) while the places held by # are only displayed if occupied. A value of 0.01 in the above format would be displayed as $0.01.

  • Rounding Mode requires a type of rounding mode from the drop-down menu.

  • Some payment methods require a specific primary currency to be configured for the store to function. Mercanet requires EUR as the primary currency.

Capabilities

Product

Contact Us

Connect

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