Page 1 of 1

When stock is 0, do not allow selling product

Posted: 2020-08-19 21:00
by Moh Youba
Hello
I have table products, orders and sells. I have added a code that color the row in red when products is less than 5.
I need to add a condition for this: when a product is 0, sells in not possible.
Any help please
Thank you