DiscountValidationResult.ProductQuantifier
Version: 9.9.0 stringSummary
Returns value of the discount quantifier.
Settings
The value is related to item value set of appropriate option in the discount definition.
Examples
Outputting the template tag
@GetString("DiscountValidationResult.ProductQuantifier")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("DiscountValidationResult.ProductQuantifier"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("DiscountValidationResult.ProductQuantifier");
}
Outputting the template tag
<!--@DiscountValidationResult.ProductQuantifier-->
Check if string has a value
<!--@If Defined(@DiscountValidationResult.ProductQuantifier)-->
Let's output this tag here: <strong><!--@DiscountValidationResult.ProductQuantifier--></strong>
<!--@EndIf(@DiscountValidationResult.ProductQuantifier)-->