Configuring Currency Format

Billing provides the following key words for configuring currency format:

  • "CURRENCY_DECIMALS_NUMBER" – defines currency precision, namely number of digits displayed after decimal point.
  • "CURRENCY_DECIMAL_SEPARATOR" – defines symbol used as decimal point in sums of money, default value is dot.
  • "CURRENCY_POSTFIX" and "CURRENCY_PREFIX" – defines currency symbol and its position relative to a sum of money.
  • "CURRENCY_THOUSAND_SEPARATOR" – defines symbol used as thousands separator in sums of money, default value is comma.

Note:
1. Online store uses the same values as Billing if the $useDefaultCurrency value in the /usr/local/bm/templatestore/conf/params.inc file is set to 1. After specifying "CURRENCY_POSTFIX" or "CURRENCY_PREFIX", the $useDefaultCurrency value should be set to 0.
2. The change of $useDefaultCurrency value will be applied to all online stores of CloudBlue Commerce installation.
3. To apply any changes, you need to synchronize the online store.