Support

Home Forums Event Espresso Premium Issue report: Promotions Admin UI allows gt 100% percent discount

Issue report: Promotions Admin UI allows gt 100% percent discount

Posted: February 3, 2020 at 10:06 am

Viewing 1 reply thread


Daniel

February 3, 2020 at 10:06 am

Hi!

The Promotions Admin UI just let a promotion be created with a 205% discount. The user was trying to create a $205 discount but there was no validation on the percentage value MAX 100%. This would have stopped this error. 205% should be an invalid value for a promotion code, right?

I looked in the code to try to fix this issue and create a PR but I couldn’t find the validation code.

Thanks in advance!


Josh

  • Support Staff

February 3, 2020 at 11:05 am

Hi Daniel,

The promotions add-on doesn’t currently have validation to prevent an admin from inputting more than 100 into the Amount field if “Percent Discount” is the selected Type. I can make a note about this and we can keep this in mind for future features and updates.

Viewing 1 reply thread

The support post ‘Issue report: Promotions Admin UI allows gt 100% percent discount’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso