Ecom:FrequentlyBoughtItems.Quantity
Version: - integerSummary
Returns the number of frequently bought products.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetInteger("Ecom:FrequentlyBoughtItems.Quantity")
Check if tag has a value
@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:FrequentlyBoughtItems.Quantity"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
int storedTag = GetInteger("Ecom:FrequentlyBoughtItems.Quantity");
}
Outputting the template tag
<!--@Ecom:FrequentlyBoughtItems.Quantity-->
Check if integer has a value
<!--@If Defined(@Ecom:FrequentlyBoughtItems.Quantity)-->
Let's output this tag here: <strong><!--@Ecom:FrequentlyBoughtItems.Quantity--></strong>
<!--@EndIf(@Ecom:FrequentlyBoughtItems.Quantity)-->