Ecom:CatalogPublishing.TotalProductCount
Version: - doubleSummary
Returns the total number of products in the Catalog publishing list.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetDouble("Ecom:CatalogPublishing.TotalProductCount")
Check if tag has a value
@if(!double.IsNullOrWhiteSpace(GetDouble("Ecom:CatalogPublishing.TotalProductCount"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
double storedTag = GetDouble("Ecom:CatalogPublishing.TotalProductCount");
}
Outputting the template tag
<!--@Ecom:CatalogPublishing.TotalProductCount-->
Check if double has a value
<!--@If Defined(@Ecom:CatalogPublishing.TotalProductCount)-->
Let's output this tag here: <strong><!--@Ecom:CatalogPublishing.TotalProductCount--></strong>
<!--@EndIf(@Ecom:CatalogPublishing.TotalProductCount)-->