chestertb
10-04-2009, 10:48 PM
Hi All,
I have a question about inventory control.
My e-commerce system currently assesses inventory levels on the fly. Optionally, if the item's out of stock, a visitor to the online store simple won't see the product, and if inventory numbers are low, they can not order more than is available.
Purchases are added to the shopping cart via session cookies but the actual inventory levels aren't adjusted until the purchase is completed.
However, how would you handle the purchase if, between the time an item is added to the cart and the time a purchase is completed, someone else completes a purchase and exhausts the inventory?
It must happen occasionally, no matter how many checks or balances are built into the cart, so what to do?
How does, say, Amazon or one of the other high volume on-line retailers handle that?
Cheers
CTB
I have a question about inventory control.
My e-commerce system currently assesses inventory levels on the fly. Optionally, if the item's out of stock, a visitor to the online store simple won't see the product, and if inventory numbers are low, they can not order more than is available.
Purchases are added to the shopping cart via session cookies but the actual inventory levels aren't adjusted until the purchase is completed.
However, how would you handle the purchase if, between the time an item is added to the cart and the time a purchase is completed, someone else completes a purchase and exhausts the inventory?
It must happen occasionally, no matter how many checks or balances are built into the cart, so what to do?
How does, say, Amazon or one of the other high volume on-line retailers handle that?
Cheers
CTB