Show a message when coupon cannot be found
I am looking for a way I can show a message when a coupon is not found in the database. I found followed all of the instructions to set up a coupon and pull it from a the database and it workes flawlessly.
But the client would like a message to appear if that coupon was either typed wrong or is not in the database.
I could show a message when a record doesn't exist but then it would show just on the cart page. So how would i go about doing this?