Server:Request.orderid
Version: - stringSummary
Returns ID of order in request to server.
Settings
The value is generated automatically.
Examples
Outputting the template tag
@GetString("Server:Request.orderid")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Server:Request.orderid"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Server:Request.orderid");
}
Outputting the template tag
<!--@Server:Request.orderid-->
Check if string has a value
<!--@If Defined(@Server:Request.orderid)-->
Let's output this tag here: <strong><!--@Server:Request.orderid--></strong>
<!--@EndIf(@Server:Request.orderid)-->