@if(!String.IsNullOrEmpty(@GetString("Ecom:Order.Customer.VoucherCode"))){
foreach(LoopItem i in GetLoop("DiscountValidationResults")){
@{ var voucherError = @i.GetLoop("DiscountValidationReasons"); } @if
(voucherError.Any()) {
do you have a gift card, return slip or coupon code?
unfortunately, the code
"@GetString("Ecom:Order.Customer.VoucherCode")" is invalid.
} else{ // a valid code is intered }
} } else{ //no code is entered yet
do you have a gift card, return slip or coupon code?