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