Returns the amount that the customer has bought for within the latest 12 months.
The value is generated automatically.
Includes the option to add price extensions in order to format the price. See Price extensions (Prefix : Ecom:CustomerCenter.BoughtFor12Months).
Outputting the template tag
@GetString("Ecom:CustomerCenter.BoughtFor12Months")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:CustomerCenter.BoughtFor12Months"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:CustomerCenter.BoughtFor12Months");
}
Outputting the template tag
<!--@Ecom:CustomerCenter.BoughtFor12Months-->
Check if string has a value
<!--@If Defined(@Ecom:CustomerCenter.BoughtFor12Months)-->