CustomerCenter.Lists.Type.[ListType]
Summary
The CustomerCenter.Lists.Type.[ListType]​
loop lets you display information about the specific list.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
Ecom:CustomerCenter.List.AddURL
Returns an URL to the page with the create list form.
@GetString("Ecom:CustomerCenter.List.AddURL")
Ecom:CustomerCenter.List.CreateList
Returns an URL that can be used as Action in the list form if list mode is create.
@GetString("Ecom:CustomerCenter.List.CreateList")
Ecom:CustomerCenter.List.EditURL
Returns an URL that can be used as Action in the list form if list mode is edit.
@GetString("Ecom:CustomerCenter.List.EditURL")
Ecom:CustomerCenter.List.Link.Clean
Returns the URL to the list.
@GetString("Ecom:CustomerCenter.List.Link.Clean")
Ecom:CustomerCenter.List.ProductCount
Returns the number of different products in the list.
@GetInteger("Ecom:CustomerCenter.List.ProductCount")
Ecom:CustomerCenter.List.Publish
Returns an URL that publish the list.
@GetString("Ecom:CustomerCenter.List.Publish")
Ecom:CustomerCenter.List.RemoveURL
Returns an URL that removes/deletes the list.
@GetString("Ecom:CustomerCenter.List.RemoveURL")
Ecom:CustomerCenter.List.SendListPage
Returns an URL to the page with the send list as email form.
@GetString("Ecom:CustomerCenter.List.SendListPage")
Ecom:CustomerCenter.List.SendListURL
Returns an URL that can be used as Action in the email form.
@GetString("Ecom:CustomerCenter.List.SendListURL")
Ecom:CustomerCenter.List.TotalProductsQuantity
Returns the total number of products in the list.
@GetString("Ecom:CustomerCenter.List.TotalProductsQuantity")
Ecom:CustomerCenter.List.Unpublish
Returns an URL that unpublish the list.
@GetString("Ecom:CustomerCenter.List.Unpublish")
Available loops
Ecom:CustomerCenter.DefaultList.ProductsList
The Ecom:CustomerCenter.DefaultList.ProductsList​
loop lets you display various information about the default list and products in the list.
@foreach (LoopItem item in GetLoop("Ecom:CustomerCenter.DefaultList.ProductsList")){ <p>@item.GetValue("TagName")</p> }
Ecom:CustomerCenter.List.ProductsList
The Ecom:CustomerCenter.List.ProductsList​
loop lets you display various information about the list and products in the list.
@foreach (LoopItem item in GetLoop("Ecom:CustomerCenter.List.ProductsList")){ <p>@item.GetValue("TagName")</p> }