OptionName

Version: 9.9.0 string  

Summary

Name of the variant option e.g. "Red"

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("OptionName")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("OptionName"); }

Outputting the template tag

<!--@OptionName-->

Check if string has a value

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