Open gglobalstep opened 4 years ago
Hi @gglobalstep,
Thank you for taking the time to report this bug, we really appreciate your help. I can reproduce it on my end.
If I try to create a new Percentage discount
coupon and set the percentage to 120, the coupon gets created but the value would be zero:
If I edit the existing Percentage discount
coupon from 50 to 130 for example, the coupon gets updated but the value will remain 50:
We won’t be able to include this fix in the upcoming release due to the lower priority of this issue compared to others reported. We’re going to add it to our backlog so we can include it in our planning for one of our future releases.
I think we need to add the note (pop-up window) letting the user know that amounts over 100 won't be saved/allowed and that the amount should be up to 100 but not higher.
Hi @juliaamosova ,
We are able to reproduce the issue on our end using WooCommerce 5.9.0 version and WordPress 5.8.2 version. but we don't get any Note (pop-up window) letting the user know that amounts over 100 won't be saved/allowed and that the amount should be up to 100 but not higher.
Please find below screencast for reference :
Priority of this issue will be assigned shortly after we’d go through a round of prioritization. Please note it may take a couple of days.
Bug Description:
Validation fails to display for coupon amount field when the percentage discount value is more than 100.
Environment:
Windows 10 Browser: Chrome(Version 85.0.4183.83 (64-bit)) Firefox(Version 80.0.1)(64-bit) Safari(Version 13.1.1)
Steps to Reproduce:
Actual Result:
Validation fails to display for coupon amount field when the percentage discount value is more than 100.
Expected Result:
Validation should be display for coupon amount field if the value is more than 100 for percentage discount.
Artifacts:
#27632.zip
Isolating the problem (mark completed items with an [x]):