Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsDefault
Version: - booleanSummary
Returns true if the currency is the default currency and false otherwise.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetBoolean("Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsDefault")
Check if tag has a value
@if(!bool.IsNullOrWhiteSpace(GetBoolean("Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsDefault"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
bool storedTag = GetBoolean("Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsDefault");
}
Outputting the template tag
<!--@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsDefault-->
Check if boolean has a value
<!--@If Defined(@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsDefault)-->
Let's output this tag here: <strong><!--@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsDefault--></strong>
<!--@EndIf(@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsDefault)-->