I'm working with one-of-a-kind items, so each product has an inventory of 1.
I tested having shoppers add item to cart.
One then checked out and item is now "Sold Out".
The second received no warning when they viewed their cart, in fact made it all the way to Paypal.
Is there a way to warn users the item they are attempting to purchase has been sold and then not charge them?

There is much to love about ecommerce, and I appreciate all the work that's gone into it, but it definitely looks like it's meant for handling larger inventories of products that don't suddenly dry up, and my industry deals with single items and small runs.

Comments

mfb’s picture

At the moment, you have to add in extra inventory checks thru your own custom modules. I believe you could add an inventory check to hook_checkoutapi "review_validate", as the last step before an order is created..

miahawk’s picture

thanks for the reply. unfortunately I don't have the requisite skills to create a workaround :(

I've had to abandon drupal for this project, which breaks my heart because it has everything else I need.

tille’s picture

..I hoped to find an easy way out - but it seems there is none..? ..or did I miss something..?

..thanx! greetz, till..

djflux’s picture

Since this bug is in reference to 3.0-rc1 is it still valid? I see an in_stock attribute on tangible products in 5.x-3.x-dev so can we assume this issue to be closed or am I missing something?

Bevan’s picture

You might be interested in this related issue: http://drupal.org/node/144354

brmassa’s picture

Status: Active » Closed (duplicate)

Guys,

there is a similar issue on http://drupal.org/node/130980

regards,

massa