Ecom:Group.Category.FieldsCount

Version: - integer  

Summary

Returns the number of product category fields in the product category.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetInteger("Ecom:Group.Category.FieldsCount")

Check if tag has a value

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

Assign tag to a value for later use

@{ int storedTag = GetInteger("Ecom:Group.Category.FieldsCount"); }

Outputting the template tag

<!--@Ecom:Group.Category.FieldsCount-->

Check if integer has a value

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