OSCommerce Product Manager

OSCommerce Product Manager for Windows

FS#129 - Allow negative numbers in quantity.

Attached to Project: OSCommerce Product Manager
Opened by Mario A. Valdez-Ramirez (mvaldez) - Thursday, 23 September 2004, 08:50 GMT-5
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 14 November 2004, 09:00 GMT-5
Task Type Bug Report
Category Backend / Core
Status Closed
Assigned To Mario A. Valdez-Ramirez (mvaldez)
Operating System All
Severity Low
Priority High
Reported Version any
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


An user reported in the forums that the quantity is reset to the positive value if it is already negative (when editing a product).

The reason for this is that the application doesn't allow negative values.

The user mentioned something about negative meaning that the product has been already ordered by a client. It is unknown if this is normal behavior of osCommerce of if it is supported by a module.

If we support or not negative values right now or lated depends on that.

In any case, the negative value should not be converted to the positive, but to zero.
This task depends upon

Closed by  Mario A. Valdez-Ramirez (mvaldez)
Sunday, 14 November 2004, 09:00 GMT-5
Reason for closing:  
Comment by Mario A. Valdez-Ramirez (mvaldez) - Friday, 08 October 2004, 03:43 GMT-5

Let's add an UI option to allow negative quantities.

Comment by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 14 November 2004, 09:00 GMT-5

If allownegativewuantity is enabled, the user can enter directly (or indirectly) negative numbers. Otherwise, the value is converted to zero.

Fixed. Closed.