Ecom:SavedCard.IsDefault

Version: - boolean  

Summary

Returns True if the saved card is default.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Ecom:SavedCard.IsDefault")

Check if tag has a value

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

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Ecom:SavedCard.IsDefault"); }

Outputting the template tag

<!--@Ecom:SavedCard.IsDefault-->

Check if boolean has a value

<!--@If Defined(@Ecom:SavedCard.IsDefault)--> Let's output this tag here: <strong><!--@Ecom:SavedCard.IsDefault--></strong> <!--@EndIf(@Ecom:SavedCard.IsDefault)-->