How to prevent adding negative quantities on web?

To prevent adding negative quantities, please follow the below mentioned steps:

Step 1: Go to Settings

Step 2: Go to Preferences under General Settings >> Go to Document >> Go to Sales >> Negative Quantity >> Disable >> Save Changes