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