Ecom:CustomerCenter.Carts.EmptyList

Version: 9.8.0 boolean  

Summary

Returns True if the list is empty.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetBoolean("Ecom:CustomerCenter.Carts.EmptyList")

Check if tag has a value

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

Assign tag to a value for later use

@{ bool storedTag = GetBoolean("Ecom:CustomerCenter.Carts.EmptyList"); }

Outputting the template tag

<!--@Ecom:CustomerCenter.Carts.EmptyList-->

Check if boolean has a value

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