coupon code error message for guest customers
-
13-12-2019 - |
Question
we created a coupon code for registered customers.
when guest try to apply coupon code, than it displaying message like "coupon code is not valid".
but i want to display message "coupon code will apply only for registered customers.
how to write different error message for different coupon codes.
let me know if you need any clarifications
please help me to find solution
thanks in advance
Solution
Someone built such an extension for a hackathon. Not sure if it's finished yet, but you can give it a try. By the description "Provide improved error messages when entering a promo code fails.", it seams that it does what you need: https://github.com/magento-hackathon/Hackathon_PromoCodeMessages
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange