Ecom:Group.CategoryField.DefaultValue

Version: - string  

Summary

Returns default value of the category field, based on data set in the field definition.

Settings

The value is generated automatically.

Examples

Outputting the template tag

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

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

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

Check if string has a value

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