I am trying to change a validation rule from positive number to any number (so it allows negative numbers too) for the following field:
[Admin Area] -> Promotions -> Catalogue Price Rules -> Add New Rule -> Actions -> Discount Amount
I have successfully changed the client-side validation rule but am struggling with the server-side validation rule.
Here's where I have got to:
That function seems to fetch a
$_POST and sends it to a
load() method on the
catalog/rule model, and then
validateData() is called on that model with the data from
I have searched all files for
discount_amount but didn't seem to find any validation rules.