Coupon message

5 months ago
Hi,

in ApplyDiscountCoupon in case of wrong discount we have always the same message:

//general error text
model.DiscountBox.Messages.Add(_localizationService.GetResource("ShoppingCart.DiscountCouponCode.WrongDiscount"));

//discount cannot be found
model.DiscountBox.Messages.Add(_localizationService.GetResource("ShoppingCart.DiscountCouponCode.WrongDiscount"));

//empty coupon code
model.DiscountBox.Messages.Add(_localizationService.GetResource("ShoppingCart.DiscountCouponCode.WrongDiscount"));

it would be better have three difference message.

thanks
kava
5 months ago
Hi.
Thanks for the suggestion. Here is a work item.
3 months ago
Done. You can see changes here.
Thanks for the suggestion.