Hi all,

I have the following issue: When the stock of a product is set to 2 (for example) a client can still order a larger amount of these products than the stock level. A client can for example still buy 5 of these products and the stock level would go down to -3. This is quite annoying as shops often sell unique products or products with limited edition. When the stock level is 0 or lower, clients can't place an order for this product (this part of stock works correctly).

Is there solution for this?

All feedback is highly appreciated.
Thanks in advance.
Cheers,
Danny

Comments

longwave’s picture

Category: bug » support
Status: Active » Fixed

As you found, Ubercart core only tracks inventory levels, it does not prevent purchases if items are out of stock. Contrib modules are available to fix this, such as http://drupal.org/project/uc_out_of_stock or http://drupal.org/project/uc_multi_stock.

danny_joris’s picture

Hi longwave,

Thank you very much. I am only using http://drupal.org/project/uc_attribute_stock_filter . I am going to post an issue there in a sec, but I would like to ask you if you know if I would have to use another 'out of stock' solution combined with this one or not? I'll test it and I will post an issue in the uc_attribute_stock_filter, but you might have a quick answer. If not, no problem.

Thanks again!
Cheers,
Danny

EDIT: issue committed: http://drupal.org/node/644936

longwave’s picture

The http://drupal.org/project/uc_multi_stock project page specifically mentions uc_attribute_stock_filter, I haven't tried this combination personally but I think installing uc_multi_stock alongside will help matters - test it out and post your results!

danny_joris’s picture

Hi longwave, thanks for your help!

I installed uc_multi_stock and it does exactly what I needed. No less, no more.

Project descriptions are often quite vague for me and thus open for interpretation. There was also no documentation included. In the module nor drupal.org. But it's perfect!

Thanks again for your help!
Cheers,
Danny

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.