Ecom:Order.UsedGiftCard.InitialAmount.IsZero

Version: - boolean  

Summary

Returns True if the amount is zero

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Ecom:Order.UsedGiftCard.InitialAmount.IsZero")

Check if tag has a value

@if(!bool.IsNullOrWhiteSpace(GetBoolean("Ecom:Order.UsedGiftCard.InitialAmount.IsZero"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Ecom:Order.UsedGiftCard.InitialAmount.IsZero"); }

Outputting the template tag

<!--@Ecom:Order.UsedGiftCard.InitialAmount.IsZero-->

Check if boolean has a value

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