Version: - string  


Returns the number of products per page.


The value is based on the Products per page field in the product catalog module settings.

(Page - Paragraph - Module - Display - Products per page)


Outputting the template tag


Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:ProductList.PageSize"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:ProductList.PageSize"); }

Outputting the template tag


Check if string has a value

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