Ecom:CustomerCenter.Orders.PrintOrderURL
Version: - stringSummary
Returns the URL for the print order details button.
Settings
The value is generated automatically.
Remarks
The value should be assigned to the <a>
href attribute.
Examples
Outputting the template tag
@GetString("Ecom:CustomerCenter.Orders.PrintOrderURL")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:CustomerCenter.Orders.PrintOrderURL"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:CustomerCenter.Orders.PrintOrderURL");
}
Outputting the template tag
<!--@Ecom:CustomerCenter.Orders.PrintOrderURL-->
Check if string has a value
<!--@If Defined(@Ecom:CustomerCenter.Orders.PrintOrderURL)-->
Let's output this tag here: <strong><!--@Ecom:CustomerCenter.Orders.PrintOrderURL--></strong>
<!--@EndIf(@Ecom:CustomerCenter.Orders.PrintOrderURL)-->