Ecom:Order:OrderLine.Date
Version: - dateSummary
Returns the date and time the orderline was created.
Settings
The value is generated automatically.
Remarks
ncludes the option to add date extensions in order to format the date. See Date extensions (Prefix : Ecom:OrderLine.Date).
Examples
Outputting the template tag
@GetDate("Ecom:Order:OrderLine.Date")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetDate("Ecom:Order:OrderLine.Date"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetDate("Ecom:Order:OrderLine.Date");
}
Outputting the template tag
<!--@Ecom:Order:OrderLine.Date-->
Check if date has a value
<!--@If Defined(@Ecom:Order:OrderLine.Date)-->
Let's output this tag here: <strong><!--@Ecom:Order:OrderLine.Date--></strong>
<!--@EndIf(@Ecom:Order:OrderLine.Date)-->