Currency
Version: - stringSummary
Returns the name of the currency, e.g. "Euro".
Settings
The values regarding the currency are dependent of the currency settings.
(Management center - eCommerce > Internationalization > Currency)
Remarks
Includes the option to add currency extensions in order to format the currency.
See Price tag extensions for further details about formatting this currency.
(Prefix : Ecom:Product.Currency
).
Examples
Outputting the template tag
@GetString("Currency")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Currency"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Currency");
}
Outputting the template tag
<!--@Currency-->
Check if string has a value
<!--@If Defined(@Currency)-->
Let's output this tag here: <strong><!--@Currency--></strong>
<!--@EndIf(@Currency)-->