carfin
VP-CART Expert
  
United Kingdom
948 Posts |
Posted - March 12 2012 : 12:52:54
|
Hi Brad,
I've just looked at the code for donation features and you're right, there is no check for a negative amount entered. If you open shopproductfeaturesprocess.asp and find the sub routine: Sub ProcessUserPrice Then find the line: If not isnumeric(price) then Add a negative check here so change the code to: If not isnumeric(price) or isnumeric(price)<0 then You may also want to change the wording of the error message that displays to alert that negative numbers cannot be entered. getlang("LangUserPriceError")
I've tested this and it works fine.
Regards,
Carrol www.deanston-electrical.co.uk |
 |
|