Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsCurrent

Version: - boolean  

Summary

Returns true if the currency is the current currency and false otherwise.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsCurrent")

Check if tag has a value

@if(!bool.IsNullOrWhiteSpace(GetBoolean("Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsCurrent"))) { @* 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.IsCurrent"); }

Outputting the template tag

<!--@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsCurrent-->

Check if boolean has a value

<!--@If Defined(@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsCurrent)--> Let's output this tag here: <strong><!--@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsCurrent--></strong> <!--@EndIf(@Ecom:Order.UsedGiftCard.UsedAmountForTheOrder.Currency.IsCurrent)-->