Ecom:Order:Orderstate.Description
Version: - stringSummary
Returns the description of the order state.
Settings
The value is based on the Description
input field for a order state.
(Management Center > Ecommerce settings > Orders > Order states > Order state > General tab)
Examples
Outputting the template tag
@GetString("Ecom:Order:Orderstate.Description")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Order:Orderstate.Description"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Order:Orderstate.Description");
}
Outputting the template tag
<!--@Ecom:Order:Orderstate.Description-->
Check if string has a value
<!--@If Defined(@Ecom:Order:Orderstate.Description)-->
Let's output this tag here: <strong><!--@Ecom:Order:Orderstate.Description--></strong>
<!--@EndIf(@Ecom:Order:Orderstate.Description)-->