-=peter=- Posted December 15, 2015 Share Posted December 15, 2015 Hello. In Product class, the checkQty() method should "@return bool True if product is available with this quantity", there's this check: if ($this->isAvailableWhenOutOfStock(StockAvailable::outOfStock($this->id))) { return true; } But when it's oos and orders are disabled, this condition is false and it continues and checks quantity against stock (<=). So when quantity is 0 and stock is 0, it returns true while out of stock orders are disabled. Can someone confirm? Thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now