Ecom:DiscountValidationResult.Type

Version: 9.9.0 string  

Summary

Returns type of the discount.

Settings

The value is related to appropriate option set in the description definition.

Examples

Outputting the template tag

@GetString("Ecom:DiscountValidationResult.Type")

Check if tag has a value

@if(!string.IsNullOrWhiteSpace(GetString("Ecom:DiscountValidationResult.Type"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:DiscountValidationResult.Type"); }

Outputting the template tag

<!--@Ecom:DiscountValidationResult.Type-->

Check if string has a value

<!--@If Defined(@Ecom:DiscountValidationResult.Type)--> Let's output this tag here: <strong><!--@Ecom:DiscountValidationResult.Type--></strong> <!--@EndIf(@Ecom:DiscountValidationResult.Type)-->