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