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