Ecom:Order:OrderLine.Modified

Version: - date  

Summary

Returns the modification date of the orderline.

Settings

The value is generated automatically.

Remarks

Includes the option to add date extensions in order to format the date. See Date extensions (Prefix : Ecom:OrderLine.Modified).

Examples

Outputting the template tag

@GetDate("Ecom:Order:OrderLine.Modified")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetDate("Ecom:Order:OrderLine.Modified"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetDate("Ecom:Order:OrderLine.Modified"); }

Outputting the template tag

<!--@Ecom:Order:OrderLine.Modified-->

Check if date has a value

<!--@If Defined(@Ecom:Order:OrderLine.Modified)--> Let's output this tag here: <strong><!--@Ecom:Order:OrderLine.Modified--></strong> <!--@EndIf(@Ecom:Order:OrderLine.Modified)-->