Closed (fixed)
Project:
Ubercart
Version:
6.x-2.0-rc7
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Nov 2009 at 19:05 UTC
Updated:
11 Dec 2009 at 20:40 UTC
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
Comment #1
longwaveAs 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.
Comment #2
danny_joris commentedHi 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
Comment #3
longwaveThe 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!
Comment #4
danny_joris commentedHi 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