Version: - string  


Returns the customer center menu.


The menu comes from the Menu layout template. You need to change this template in order to change the apperance of the buttons in the menu.


Outputting the template tag


Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag


Check if string has a value

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