Ecom:CustomerCenter.Orders.OrdersDetails.URL
Version: - stringSummary
Returns the URL for displaying the order details.
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.OrdersDetails.URL")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:CustomerCenter.Orders.OrdersDetails.URL"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:CustomerCenter.Orders.OrdersDetails.URL");
}
Outputting the template tag
<!--@Ecom:CustomerCenter.Orders.OrdersDetails.URL-->
Check if string has a value
<!--@If Defined(@Ecom:CustomerCenter.Orders.OrdersDetails.URL)-->
Let's output this tag here: <strong><!--@Ecom:CustomerCenter.Orders.OrdersDetails.URL--></strong>
<!--@EndIf(@Ecom:CustomerCenter.Orders.OrdersDetails.URL)-->