The stock is set to active for a product and stock level is set to 0. But, I'm still able to add the product to shopping cart and order it.
I should not be able to add product to shopping cart when product stock is "active and set at 0". The product should show "out of stock". How to make this working. Is this a bug?
Comments
Comment #1
mandreato commentedYou should use uc_out_of_stock module. In its issue queue there is a discussion on how to port it to D7: #1201310: RFE: Update module to Drupal 7 and Ubercart 3.0.
Comment #2
himagarwal commentedThanks mandreato.
I understand that I have to use uc_out_of_stock module. Since, I'm working in D7, maybe I have to wait until its completely ported to it.
But, the thing that I don't understand is the "stock" module which comes with Ubercart. Why isn't it working? Why am I still able to add the product to shopping cart? I don't get how this "stock" module is being used. Please help.
Comment #3
tr commentedYes, that's the way it works. To find out more, read the documentation and all the issues about stock here and on ubercart.org.