Ecom:CustomerCenter.BoughtFor12Months

Version: - string  

Summary

Returns the amount that the customer has bought for within the latest 12 months.

Settings

The value is generated automatically.

Remarks

Includes the option to add price extensions in order to format the price. See Price extensions (Prefix : Ecom:CustomerCenter.BoughtFor12Months).

Examples

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)--> Let's output this tag here: <strong><!--@Ecom:CustomerCenter.BoughtFor12Months--></strong> <!--@EndIf(@Ecom:CustomerCenter.BoughtFor12Months)-->