Page 1 of 1

negative stock

Posted: Sun Feb 15, 2009 9:12 pm
by daelsta
hey daniel,

i know chris did already contact you about this.
wouldn't it be better to change the stock settings, that when a product is at stock level 0, there's nothing substracted anymore. negative stock level seems illogical to me  :P stock level -1 produces in stock again...

greetz daniel (daelsta)

negative stock levels might be useful when you want to know how many products you have to backorder so just the order status shouldn't change to in stock at negative stock levels :)

Re: negative stock

Posted: Sun Feb 15, 2009 9:30 pm
by daelsta
imagine the following scenario:

i want my customers to be able to order products that are out of stock. additionally i want the stock substract feature. so at a negative stock level it should produce available in 2 weeks (or whatever the shop ownwer enters there).

greetz daniel

Re: negative stock

Posted: Sun Feb 15, 2009 9:37 pm
by CChris
in the file

catalog/controller/product/product.php on line 141

change:

$product_info['quantity'] to ($product_info['quantity'] > 0)