I have got it so when stock is zero you cant add any items to the cart, but if stock is 1 then its still possible to add 2 items to the cart.
I have found a few other fairly old threads asking the same qustion, but no solution.
Any thoughts?
I did a stock check extension for all such matters.
https://www.opencart.com/index.php?rout ... n_id=13703
https://www.opencart.com/index.php?rout ... n_id=13703
-
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS
There IS already such warning by default. But to actually make it work, the order should be placed and have Processing status. You can not and actually SHOULD NOT add this option live. I mean, if several customers added a particular product and their total quantity exceeds your stock,firstcallonline none of them should see any warnings. The right logic is already there don't change it.
Who is online
Users browsing this forum: Google [Bot] and 89 guests