Ecom:CustomerCenter.DefaultList.Type

Version: - string  

Summary

Returns the type of the list.

Settings

The value is based on the type input field when creating the list.

Remarks

This tag can be used for the list marked as default.

Examples

Outputting the template tag

@GetString("Ecom:CustomerCenter.DefaultList.Type")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:CustomerCenter.DefaultList.Type"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:CustomerCenter.DefaultList.Type"); }

Outputting the template tag

<!--@Ecom:CustomerCenter.DefaultList.Type-->

Check if string has a value

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