Frequently bought items
Tags, loops and template examples related to frequently bought items/products within the customer center.
Available tags
Ecom:CustomerCenter.BoughtFor12Months
Returns the amount that the customer has bought for within the latest 12 months.
RAZOR
@GetString("Ecom:CustomerCenter.BoughtFor12Months")
Ecom:CustomerCenter.BoughtFromGivenDate
Returns the amount that the customer has bought for from a selected date.
RAZOR
@GetString("Ecom:CustomerCenter.BoughtFromGivenDate")
Ecom:CustomerCenter.Menu
Returns the customer center menu.
RAZOR
@GetString("Ecom:CustomerCenter.Menu")
Available loops
FrequentlyBoughtItems
The FrequentlyBoughtItems
loop lets you display the products that are no longer available in the cart.
RAZOR
@foreach (LoopItem item in GetLoop("FrequentlyBoughtItems")){ <p>@item.GetValue("TagName")</p> }