Overview
Selling items that are not in stock causes negative inventory and unhappy customers. This module checks product quantities when the cashier presses Pay and refuses the sale if stock is zero or below. It adds one option to the POS configuration and plugs into Point of Sale and Inventory quantities. Shop managers keep stock figures accurate.
Usage steps
- 1
Enable the restriction
In the POS configuration the manager ticks Restrict Zero Quantity. The setting is also available in Settings.
- Field: Restrict Zero Quantity
- Per POS
- 2
Sell as usual
The cashier adds products to the order. The module reads each product stock quantity from the POS data.
- Uses on-hand quantity
- Applies to storable products
- 3
Pay is intercepted
On Pay the patched _onClickPay checks the lines. If any product has zero or negative stock the restriction flag is raised.
- Check before payment
- Compares quantity with the order
- 4
Sale denied
A popup titled Zero Quantity Not allowed or Deny Order names the product and stops the payment. The cashier removes the item or adjusts stock.
- Popup with product name
- Payment blocked
- Fix stock in Inventory
Screens
Illustrative mockups with placeholder data.
—
Added by this module
Roles
| Role |
|---|
| POS cashier |
| POS manager |
Dependencies
Want to know more or try this app? Contact us
We can arrange a demo or a trial and answer your questions about POS Restrict Zero Quantity.