Affects Version/s: 2.0.7
Fix Version/s: 2.1.1
Component/s: Digital Merchandise Management → Discounts
Git Pull Request:
- Go to Control Panel → Commerce → Discounts
- Create a Discount
- Fill in the required fields
- For the field Maximum Discount Amount...
- Insert a value less than 1 and greater than 0 with no leading 0, e.g. .50
No validation errors
0.50 is an accepted value, but .50 is not
- Insert a number 0 or less, e.g. -50
Validation Error. A 0 or negative maximum discount amount should not be allowed.
No validation error