Post by daelsta » Sun Feb 15, 2009 9:12 pm

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 :)
Last edited by daelsta on Sun Feb 15, 2009 9:23 pm, edited 1 time in total.

New member

Posts

Joined
Thu Oct 11, 2007 12:00 pm

Post by daelsta » Sun Feb 15, 2009 9:30 pm

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

New member

Posts

Joined
Thu Oct 11, 2007 12:00 pm

Post by CChris » Sun Feb 15, 2009 9:37 pm

in the file

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

change:

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

New member

Posts

Joined
Tue Feb 10, 2009 8:36 am
Who is online

Users browsing this forum: No registered users and 13 guests