Ecom:Product:ConditionReward.ConditionType
Version: 9.6.0 stringSummary
Returns condition type.
Settings
The value is generated automatically.
Remarks
There are types of condition:
Custom - to use in custom point providers
ProductQuantity - more quantity is needed
TotalPrice - more amount is needs
Voucher - voucher code is needed
Shipping - specific shipping is needed
Payment - specific payment is needed
Examples
Outputting the template tag
@GetString("Ecom:Product:ConditionReward.ConditionType")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Ecom:Product:ConditionReward.ConditionType"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Ecom:Product:ConditionReward.ConditionType");
}
Outputting the template tag
<!--@Ecom:Product:ConditionReward.ConditionType-->
Check if string has a value
<!--@If Defined(@Ecom:Product:ConditionReward.ConditionType)-->
Let's output this tag here: <strong><!--@Ecom:Product:ConditionReward.ConditionType--></strong>
<!--@EndIf(@Ecom:Product:ConditionReward.ConditionType)-->