Ecom:Order:OrderLine.ProductLink
Version: - stringSummary
Returns an URL to the product for the current orderline. DEPRECATED.
Settings
The value is generated automatically.
Remarks
If the product is added from the Catalog list view, then this is where the link will take the user back to. If the product was added from a details view then the link will take the user back to that.
Tag is deprecated. Use Ecom:Order:OrderLine.ProductLink.Fixed instead.
Examples
Outputting the template tag
@GetString("Ecom:Order:OrderLine.ProductLink")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Order:OrderLine.ProductLink"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Order:OrderLine.ProductLink");
}
Outputting the template tag
<!--@Ecom:Order:OrderLine.ProductLink-->
Check if string has a value
<!--@If Defined(@Ecom:Order:OrderLine.ProductLink)-->
Let's output this tag here: <strong><!--@Ecom:Order:OrderLine.ProductLink--></strong>
<!--@EndIf(@Ecom:Order:OrderLine.ProductLink)-->