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