Ecom:Order.UsedGiftCard.InitialAmount.Currency.Code
Version: - stringSummary
Returns the currency code according to the ISO 4217 standard, e.g. "EUR"
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Ecom:Order.UsedGiftCard.InitialAmount.Currency.Code")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Order.UsedGiftCard.InitialAmount.Currency.Code"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Order.UsedGiftCard.InitialAmount.Currency.Code");
}
Outputting the template tag
<!--@Ecom:Order.UsedGiftCard.InitialAmount.Currency.Code-->
Check if string has a value
<!--@If Defined(@Ecom:Order.UsedGiftCard.InitialAmount.Currency.Code)-->
Let's output this tag here: <strong><!--@Ecom:Order.UsedGiftCard.InitialAmount.Currency.Code--></strong>
<!--@EndIf(@Ecom:Order.UsedGiftCard.InitialAmount.Currency.Code)-->