Your account is limited to posting only in the Pre-Sales Questions forum.
Support forum access is limited to members with a purchase history.

If you are working on behalf of another member, please contact us with the name of the license holder and we will upgrade your account.
   
 
Invalid coupon code error message
Posted: 05 February 2012 05:09 AM   [ Ignore ]
Circled in the Yearbook
RankRankRank
Total Posts:  660
Joined  2010-04-08

How can I show an error on the front end when a customer enters an invalid coupon code?

Thanks

Profile
 
 
Posted: 07 February 2012 01:47 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8342
Joined  2008-09-29

How can I show an error on the front end when a customer enters an invalid coupon code?

If the customer enters an invalid code, the EE error template should be triggered, unless you have show_errors=“no” set in the coupon_form

 Signature 

NOTE: If I say “I will look into x” and you PM me information, please do not hesitate to contact me again about it, if I do not respond in several hours, or at most a day. Please feel free to remind me as you see fit

Profile
 
 
Posted: 07 February 2012 01:53 AM   [ Ignore ]   [ # 2 ]
Circled in the Yearbook
RankRankRank
Total Posts:  660
Joined  2010-04-08

It’s catch 22. I have error_handling=“inline” required=“coupon_code”, which makes sure something is entered, but makes it impossible to show an error when an invalid code is entered.

Profile