Skip to main content

Currency

Currency loop lists currencies.
{loop type="currency" name="the-loop-name" [argument="value"], [...]}

Arguments

ArgumentDescriptionDefaultExample
default_onlyA boolean value to display only the default currency.default_only="true"
excludeA single or a list of currency ids.exclude="2", exclude="1,4,7"
idA single or a list of currency ids.id="2", id="1,4,7"
langA lang idlang="1"
orderA list of values see sorting possible valuesmanualorder="id_reverse"

Plus the global arguments

Outputs

VariableValue
$IDthe currency id
$ISOCODEthe ISO numeric currency code
$IS_DEFAULTreturns if the currency is the default currency
$IS_TRANSLATEDcheck if the currency is translated
$LOCALEThe locale used for this research
$NAMEthe currency name
$POSITIONthe currency position
$RATEthe currency rate
$SYMBOLthe ISO numeric currency symbol

Plus the global outputs

Order possible values

Arguments

Ascending valueDescending valueSorted fields
codecode-reversecurrency code
idid_reverseid
namename_reversename