Ecom:Group.CategoryField.Label

Version: - string  

Summary

Returns label 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.Label")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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