Weighted Products and Decimal Sales
Grocery mode supports products that are sold by weight instead of only by piece.
What weighted support means
A weighted product can:
- use decimal quantity
- sell in values like
0.250,0.500, or1.250 - use a weighted barcode
- calculate value through
price_per_unit
Example:
- apples = 500 per kg
- qty = 1.25 kg
- total = 625
Product setup
Weighted grocery items usually need:
- name
- unit
- selling price or price per weight unit
is_weighted- barcode type
- manage stock
Packaged grocery goods can still use optional batch and expiry details when shelf-life tracking is important.
Billing behavior
The Billing Page should support:
- search and scan
- decimal quantity entry
- weighted barcode reading
- line total calculation based on quantity and unit price
Weighted label tools should appear only where the business mode supports them. Restaurant-only fields should stay hidden.
Good operating practice
Use dashboard and stock pages for expiring and expired goods instead of crowding the billing page with large warning panels.
Focused warnings during billing are useful, but the main grocery checkout experience should still stay fast.