Hi all,

I've looked through the Drupal.org site and can't find any ubercart module compatible with Drupal 7.x that prevents sale of stock when stock levels go below 1.

Surely this is a show-stopper for Ubercart??!

I'm no programmer, but hope that this defect can be fixed quickly. I'm looking to use Drupal 7.x with Ubercart to do a website that can sell tickets for performances. Without the ability to prevent selling tickets if doing so would reduce the available stock below 0 I'm reasonably sure that I'll end up having to use some other CMS other than Drupal.

The ability to prevent sale of tickets where no free seats are available is viewed by the Committee as a fundamental show-stopper for any CMS solution that we would use.

Is there any chance that some support resource can be allocated to assist with the porting of this module for use with Drupal 7.x?

I'm no programmer otherwise I would willingly offer to assist. :)

Comments

adamtong’s picture

I want to know too.

cmcintosh’s picture

If i Remember correct the built in stock module should handle it. Depends whether your looking to have the product stay visible as well or not. If not you could use Rules to unpublish any product nodes when their stock reaches 0.

You could also hide the add to cart button via some php / css pretty easily. There are a couple of solutions discussed here: http://www.ubercart.org/docs/user/5181/out_stock_solutions

Chris McIntosh
(812) 250-4103 | cmcintosh@wembassy.com

david.murray’s picture

Hi Chris,

Alas the built in stock management doesn't prevent sales of stock if there is insufficient quantity.

The stock quantities go negative and transactions continue to be accepted.

That is why this module is so essential.

Big showstopper as far as I am concerned. :(

Regards
David Murray

djh007’s picture

I can't find anything which controls basic stock levels either!

I'm at the final stage of developing a site and left configuring stock levels in Ubercart until last. I figured it would be pretty straight forward, but apparently not. I have an item with a stock level of ONE and yet I'm able to add as many of this product to a cart as I wish. In fact that's even true when the stock level is ZERO!

What is the point of the stock module?

bublik’s picture

Hi , everyone ,
Check this one ubercart_attribute_stock

DIYSciBorg’s picture

bublik,
I just installed it, and will play around with it.

Any idea whether it handles the issue of a customer adding more stock than is available to their cart?
Display stock levels on the product page?
Etc?

gnvinod’s picture

Hi. Has anyone tried to find a solution to the issue . How can we allow buyers to buy more than available quantity. It is a very basic minimum requirement for any shopping cart application. When we fix available quantity for example 10 units, it should not allow buyers to buy more than 10 units. But Ubercart 3.0 for drupal 7 does not have any solution for that. Have configured my site with drupal 7 and ubercart, but now thinking of migrating to some other cart with option to control sale of available quantity.

DIYSciBorg’s picture

This is pretty disappointing.
Stock level management is a critical use point for ANY shopping cart. I was shocked that D6 Ubercart did not have acceptable stock management and relied on modules to do so. But at least those modules were there.

In my opinion, ubercart CORE stock module should do the following:
* track and count stock down - done
* allow developer to select whether to show the stock level on the product page - absent
* count stock down to zero, then disable the product - ABSENT!!! a real major flaw. Absolutely essential
* allow developer to select whether to allow reserving product after it goes out of stock - absent, but not essential
* IF reserving out of stock is disabled, prevent the customer from adding more stock than is available.

From what I understand, the current stock module will not disable an item until AFTER the final sale which brings stock to zero. Thus, if stock level is 1, a customer can add 100 more to their shopping cart, or a million, and then process the order. Only then will the product be disabled for a future shopper.
Am I correct about that?

Proper stock management needs to be at the very top of the development list for UC under D7. Patching some module from D6 up is not good enough. A proper release in the UC core is the preferred method, but a good add on module would be acceptable.

I dont want to come off as harsh.
The UC team has done a fantastic job over the years of building up the project. I would like to thank them for all their hard work. But without core stock management, I might as well install zencart. Id rather not.

jazzper’s picture

Hi,

For me #57 in following link seems to work (only tested locally on my laptop and I have very simple products with no extra attributes):
http://drupal.org/node/1201310#comment-5666672

There is also a ChipIn to port the D6 module to D7:
http://hanoii.chipin.com/initial-port-of-ucoutofstock-for-d7

jazzper’s picture

Just for people stumbling across this discussion and that are looking for a module to prevent selling of products that are out of stock. The out of stock module now is available for drupal 7:

http://drupal.org/project/uc_out_of_stock

Boffy31’s picture

Thanks for that, helped me lots