Order Search
Tags, loops and template examples related to searching/filtering the customers own orders in Customer Center
Available tags
Ecom:CustomerCenter.BoughtFor12Months
Returns the amount that the customer has bought for within the latest 12 months.
@GetString("Ecom:CustomerCenter.BoughtFor12Months")
Ecom:CustomerCenter.BoughtFromGivenDate
Returns the amount that the customer has bought for from a selected date.
@GetString("Ecom:CustomerCenter.BoughtFromGivenDate")
Ecom:CustomerCenter.Menu
Returns the customer center menu.
@GetString("Ecom:CustomerCenter.Menu")
Ecom:CustomerCenter.PID
Returns the current paragraph ID.
@GetString("Ecom:CustomerCenter.PID")
Ecom:CustomerCenter.Search.Freetext
Returns the current search phrase.
@GetString("Ecom:CustomerCenter.Search.Freetext")
Ecom:CustomerCenter.Search.FromAmount
Returns the current "from" - amount.
@GetString("Ecom:CustomerCenter.Search.FromAmount")
Ecom:CustomerCenter.Search.MonthNames.From
Returns month option values for the month (from) dropdown.
@GetString("Ecom:CustomerCenter.Search.MonthNames.From")
Ecom:CustomerCenter.Search.MonthNames.To
Returns month option values for the month (to) dropdown.
@GetString("Ecom:CustomerCenter.Search.MonthNames.To")
Ecom:CustomerCenter.Search.Products
Returns product option values for the product dropdown used to filter the search result.
@GetString("Ecom:CustomerCenter.Search.Products")
Ecom:CustomerCenter.Search.ToAmount
Returns the current "to" - amount.
@GetString("Ecom:CustomerCenter.Search.ToAmount")
Ecom:CustomerCenter.Search.Years.From
Returns year option values for the year (from) dropdown.
@GetString("Ecom:CustomerCenter.Search.Years.From")
Ecom:CustomerCenter.Search.Years.To
Returns year option values for the year (to) dropdown.
@GetString("Ecom:CustomerCenter.Search.Years.To")
Ecom:CustomerCenter.SearchForm.Begin
Returns the search form start tags.
@GetString("Ecom:CustomerCenter.SearchForm.Begin")
Ecom:CustomerCenter.SearchForm.End
Returns the search form end tag.
@GetString("Ecom:CustomerCenter.SearchForm.End")
Ecom:CustomerCenter.SearchJavascript
Returns a javascript for handling the search form functionality.
@GetString("Ecom:CustomerCenter.SearchJavascript")
Available loops
MonthNamesFrom
Returns options for the 'Month From' dropdown used to filter the search result.
@foreach (LoopItem item in GetLoop("MonthNamesFrom")){ <p>@item.GetValue("TagName")</p> }
MonthNamesTo
Returns options for the 'Month To' dropdown used to filter the search result.
@foreach (LoopItem item in GetLoop("MonthNamesTo")){ <p>@item.GetValue("TagName")</p> }
Products
Returns options for the 'Product' dropdown used to filter the search result.
@foreach (LoopItem item in GetLoop("Products")){ <p>@item.GetValue("TagName")</p> }
YearsFrom
Returns options for the 'Years From' dropdown used to filter the search result.
@foreach (LoopItem item in GetLoop("YearsFrom")){ <p>@item.GetValue("TagName")</p> }
YearsTo
Returns options for the 'Years To' dropdown used to filter the search result.
@foreach (LoopItem item in GetLoop("YearsTo")){ <p>@item.GetValue("TagName")</p> }