Ecom:CustomerCenter.MyLists

Version: - string  

Summary

Returns a button for navigating to My lists.

Settings

The value is generated automatically based on the My lists menu text settings under the paragraph settings.

(Page > Paragraph > Module tab > Menu texts panel).

Examples

Outputting the template tag

@GetString("Ecom:CustomerCenter.MyLists")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@Ecom:CustomerCenter.MyLists-->

Check if string has a value

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