Ecom:CustomerCenter.DefaultList.TotalProductsQuantity

Version: - integer  

Summary

Returns the total number of products in the list. 

Settings

The value is generated automatically.

Remarks

This tag can be used for the list marked as default.

Examples

Outputting the template tag

@GetInteger("Ecom:CustomerCenter.DefaultList.TotalProductsQuantity")

Check if tag has a value

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

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:CustomerCenter.DefaultList.TotalProductsQuantity"); }

Outputting the template tag

<!--@Ecom:CustomerCenter.DefaultList.TotalProductsQuantity-->

Check if integer has a value

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