Ecom:DiscountValidationReason.SystemReasonDescription

Version: 9.9.0 string  

Summary

Returns description of the system reason indicates why the discount is not applied.

Settings

The value is generated automatically.

Examples

Outputting the template tag

@GetString("Ecom:DiscountValidationReason.SystemReasonDescription")

Check if tag has a value

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

Assign tag to a value for later use

@{ string storedTag = GetString("Ecom:DiscountValidationReason.SystemReasonDescription"); }

Outputting the template tag

<!--@Ecom:DiscountValidationReason.SystemReasonDescription-->

Check if string has a value

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