
Example:
You have 1 item left of product 'A'. Two new customers find your product at the same time. Both are going through the registration process at the same time. One checks out first and gets a confirmation of sale notice. The second checks out (when stock should be 0) and also gets a confirmation of sale notice.
This is not a problem when you have 1 item of product 'A' left, one person checks out completely and the order is processed, then a second customer tries to purchase the product. The second customer always gets denied and is told the item is out of stock. The problem is when more than one person is checking out at once.
I WILL be having this problem because I will be selling a specific amount of product for a specific period of time. So, I WILL have more than one person checking out at once. The problem is when I have 4 items left and 20 people just got off work and heard my radio add for my products and opencart will sell 20 products when only 4 are available. Granted, this is an extreme hypothetical, but I have tested it with 3 people and one item left and we all get confirmation notices. When we do it separately, only one gets the confirmation and the other two are denied access.
Possible solution:
Is there any way to have opencart confirm the stock levels available on the last checkout page of the shopping cart, when it asks you to confirm your order? Even if I have 10 customers that get denied the product after filling out their personal info, it's better than 10 customers getting phone calls from me (if they provided their real number) telling them I will be giving their money back and my website lied to them. I know basic html (been away from computers for years) but do not know enough to program the final checkout button to confirm stock levels before final confirmation of a sale. This would save me a lot of trouble, and I actually have yet to find a piece of software that does this. I have been testing software constantly to see if it provides this feature.
PLEASE HELP! It seems like an easy solution. Is there anyone out there who can attempt this? Any help would be much appreciated!
Thanks