Ecom:Group.CategoryField.TypeID

Version: - string  

Summary

Returns type ID of the category field, based on the data in the field definition.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:Group.CategoryField.TypeID")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:Group.CategoryField.TypeID"); }

Outputting the template tag

<!--@Ecom:Group.CategoryField.TypeID-->

Check if string has a value

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