Ecom:Order:OrderLine.OrderID
Version: - stringSummary
Returns the order ID of the orderline.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Ecom:Order:OrderLine.OrderID")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Order:OrderLine.OrderID"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Order:OrderLine.OrderID");
}
Outputting the template tag
<!--@Ecom:Order:OrderLine.OrderID-->
Check if string has a value
<!--@If Defined(@Ecom:Order:OrderLine.OrderID)-->
Let's output this tag here: <strong><!--@Ecom:Order:OrderLine.OrderID--></strong>
<!--@EndIf(@Ecom:Order:OrderLine.OrderID)-->