Ecom:Product.OrderLineField.InputTextField.Name
Version: 9.9.0 stringSummary
Returns the name of the custom order line input field.
Settings
The value is based on the Name input field under the custom order line field settings.
Examples
Outputting the template tag
@GetString("Ecom:Product.OrderLineField.InputTextField.Name")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product.OrderLineField.InputTextField.Name"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Product.OrderLineField.InputTextField.Name");
}
Outputting the template tag
<!--@Ecom:Product.OrderLineField.InputTextField.Name-->
Check if string has a value
<!--@If Defined(@Ecom:Product.OrderLineField.InputTextField.Name)-->
Let's output this tag here: <strong><!--@Ecom:Product.OrderLineField.InputTextField.Name--></strong>
<!--@EndIf(@Ecom:Product.OrderLineField.InputTextField.Name)-->