When stock is 0, do not allow selling product

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
Moh Youba
Veteran Member
Posts: 228
Joined: 2017-03-12 09:31

When stock is 0, do not allow selling product

Post by Moh Youba » 2020-08-19 21:00

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

Post Reply