Ecom:Order:OrderLine.OrderLineField.InputTextField
Version: - stringSummary
Returns a form containing an input field where customers can enter information about the product before going further through the order process.
Settings
The value is generated automatically.
Remarks
The field size is based on the Field length input field under the custom order line field settings.
Examples
Outputting the template tag
@GetString("Ecom:Order:OrderLine.OrderLineField.InputTextField")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Order:OrderLine.OrderLineField.InputTextField"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Order:OrderLine.OrderLineField.InputTextField");
}
Outputting the template tag
<!--@Ecom:Order:OrderLine.OrderLineField.InputTextField-->
Check if string has a value
<!--@If Defined(@Ecom:Order:OrderLine.OrderLineField.InputTextField)-->
Let's output this tag here: <strong><!--@Ecom:Order:OrderLine.OrderLineField.InputTextField--></strong>
<!--@EndIf(@Ecom:Order:OrderLine.OrderLineField.InputTextField)-->