Ecom:CatalogPublishing.ProductLineCount

Version: - integer  

Summary

Returns the number of different products in the Catalog publishing list.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Ecom:CatalogPublishing.ProductLineCount")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("Ecom:CatalogPublishing.ProductLineCount"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:CatalogPublishing.ProductLineCount"); }

Outputting the template tag

<!--@Ecom:CatalogPublishing.ProductLineCount-->

Check if integer has a value

<!--@If Defined(@Ecom:CatalogPublishing.ProductLineCount)--> Let's output this tag here: <strong><!--@Ecom:CatalogPublishing.ProductLineCount--></strong> <!--@EndIf(@Ecom:CatalogPublishing.ProductLineCount)-->