Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions tutorials/food.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,12 +196,14 @@ If you scanned an item that you have in stock, but with another brand, and you w

### Scan mode

On top of the screen you can select **Scan mode off** or **Scan mode on**. The intention is to make it fast to purchase an item with a scanner. For scan mode to work as intended:
- best before date must be filled with a default value or disabled in the config.
On top of the screen you can select **Scan mode off** or **Scan mode on**. The goal of this feature is to make purchasing an item with a scanner as straightforward as possible. For scan mode to work as intended:
- best before date of the product you scan must be filled with a default value or disabled in the config;
- the setting *Default amount for purchase* (under *Stock settings*) must be set to a non-zero value;
- the stock unit of the product you scan should be uniform rather than variable (think cans or bags, rather than grams or ounces).

**Note:** Price will not be entered (if it is enabled)
**Note:** Price (if it is enabled) will not be entered unless you enter it before scanning.

When you purchase with scan mode it will purchase one of the purchase unit.
When you purchase with scan mode, if the barcode you scan contains an amount, the registered purchase will be for a number of items equal to that amount; if the barcode you scan does *not* contain an amount, then the purchase will be for a number of units equal to the *Default amount of purchase*. E.g., if you scan a barcode of a product with purchase unit "cans" without an amount attached to it, and your *Default amount for purchase* is *2*, then the recorded purchase will be for *2 cans*.

## Consume

Expand Down