[OrderFieldTagName]

Version: - string  

Summary

Returns the value of the order field.

Settings

The value is generated automatically.

Remarks

The value is based on the order field input from the customer.

Examples

Outputting the template tag

@GetString("[OrderFieldTagName]")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("[OrderFieldTagName]"); }

Outputting the template tag

<!--@[OrderFieldTagName]-->

Check if string has a value

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