Product.OrderLineFields
Summary
The Order.OrderLineFields
loop lets you display various information about all custom order line fields associated with a product.
Examples
Basic usage
Notice the use of @item.GetValue to get data from the loop variable.
If you just write @GetValue, the data will be taken from outside the loop.
Similarly, you have to use @item.GetLoop to use loops inside a loop.
Check if the loop exists
Example of usage
The following general example illustrates how to use a loop construct.
Check if the loop exists
Available tags
Ecom:Order.OrderLineField.SystemName
Returns the system name of the order line field.
@GetString("Ecom:Order.OrderLineField.SystemName")
Ecom:Order:OrderLine.OrderLineField.InputTextField
Returns a form containing an input field where customers can enter information about the product before going further through the order process.
@GetString("Ecom:Order:OrderLine.OrderLineField.InputTextField")
Ecom:Order:OrderLine.OrderLineField.Name
Returns the name of the order line field.
@GetString("Ecom:Order:OrderLine.OrderLineField.Name")
Ecom:Order:OrderLine.OrderLineField.ValidationErrorMessage
Returns the orderline validation error message.
@GetString("Ecom:Order:OrderLine.OrderLineField.ValidationErrorMessage")
Ecom:Order:OrderLine.OrderLineField.Value
Returns the value of the order line form input field.
@GetString("Ecom:Order:OrderLine.OrderLineField.Value")
Ecom:Order:OrderLine.OrderLineField.Value.Clean
Returns the value of the order line form input field.
@GetString("Ecom:Order:OrderLine.OrderLineField.Value.Clean")
Ecom:Product.OrderLineField.InputTextField.Name
Returns the name of the custom order line input field.
@GetString("Ecom:Product.OrderLineField.InputTextField.Name")