wrong error message when entering incorrect gift card number in cart

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
The error message that appears in the cart when an incorrect gift card number is entered is the same error message for incorrect coupon codes. Using version 3.9
7 years ago
When entering wrong discount coupon code we use "ShoppingCart.DiscountCouponCode.WrongDiscount" locale. When entering wrong gift card code we use "ShoppingCart.GiftCardCouponCode.WrongGiftCard" locale. Their values are the same (it's by design). You can edit them in admin area > configuration > languages > resources.

so everything works fine
7 years ago
a.m. wrote:
When entering wrong discount coupon code we use "ShoppingCart.DiscountCouponCode.WrongDiscount" locale. When entering wrong gift card code we use "ShoppingCart.GiftCardCouponCode.WrongGiftCard" locale. Their values are the same (it's by design). You can edit them in admin area > configuration > languages > resources.

so everything works fine


Thanks for the reply. Yes the strings are the same for both. Why is that by design? I am not following you.

The string for both variables is: "The coupon code you entered couldn't be applied to your order"

Shouldn't "ShoppingCart.GiftCardCouponCode.WrongGiftCard" be something like "The gift card you entered couldn't be applied to your order".
7 years ago
It's by design. But you can easily edit the message in admin area
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.