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, 13:50 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 14 November 2004, 15:00 GMT
Opened by Mario A. Valdez-Ramirez (mvaldez) - Thursday, 23 September 2004, 13:50 GMT
Last edited by Mario A. Valdez-Ramirez (mvaldez) - Sunday, 14 November 2004, 15:00 GMT
|
DetailsAn 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
Let's add an UI option to allow negative quantities.
If allownegativewuantity is enabled, the user can enter directly (or indirectly) negative numbers. Otherwise, the value is converted to zero.
Fixed. Closed.