Catalog
Set SKU, Barcodes and Print Labels
Make products scannable by giving each item a clean SKU/barcode setup, then print labels with the right label size and fields.
- Menu path
- Inventory -> Items -> New or Item actions -> Barcode labels
- Verified from
- Posnic demo and current POS source reviewed on 2026-09-08
Technical source evidence
frontend/modules/items_write.html SKU & Barcodes card and More tab, frontend/static/script/js/modules/js/items.js sameAsSku _altBarcodes GTIN validation showBarcode printLableView, frontend/static/script/js/modules/js/sales.js addByBarcode and item search, vendored print-js and JsBarcode label flow
What Each Code Field Is For
| Field | Purpose | Cashier impact |
|---|---|---|
| Quick code / PLU | Short internal code for fast lookup. | Useful when staff type a small code instead of scanning. |
| SKU | Shop's stock keeping unit or internal item identity. | Searchable in New Sale and useful on reports. |
| Barcode | The value printed on the product or label and read by scanners. | Needed for reliable scan-to-add checkout. |
| Same as SKU | Copies the SKU value into Barcode when the shop wants one code. | Simplifies small stores that print their own labels. |
| GTIN/EAN | Manufacturer or global trade code where available. | Useful for standardized products and future integrations. |
| Extra barcodes | Additional package, supplier or alternate scan codes. | Lets multiple package codes find the same item. |
Make an Item Barcode Ready
- Open Inventory -> Items and create or edit the item.
- Enter a unique SKU for internal search and reporting.
- Enter the physical barcode value in Barcode, or turn on Same as SKU when SKU is the barcode to print.
- Add GTIN/EAN when the item has a manufacturer code.
- Open More and add extra barcodes when one product has several package codes.
- Save the item.
- Open Home -> New Sale, click the search field and scan the product.
- Confirm the correct item and price appear before using scanning in a live queue.
Same as SKU and Duplicate Protection
Same as SKU is useful only when the SKU is the exact value the barcode scanner will send. The POS source also checks for SKU collisions; if the typed SKU is already taken, the server can save with a different available SKU and the app warns the operator.
- Use Same as SKU for internal printed labels and simple shops that do not need a separate supplier barcode.
- Leave Same as SKU off when supplier packaging has a different scan code.
- If the saved SKU is different from what was typed, stop and review the duplicate before printing labels.
- For variants, each sellable variant needs its own SKU and barcode.
GTIN and In-Store Codes
GTIN/EAN is validated separately from the working Barcode field. The client accepts valid 8, 12, 13 or 14 digit trade codes and recognizes common in-store code prefixes, but a wrong GTIN should not be used as a shortcut for a shop barcode.
| Code type | Use it for | Rule |
|---|---|---|
| Barcode | What the scanner reads at checkout. | Must match the product package, label or alternate barcode. |
| SKU | Internal stock identity. | Keep unique for imports, reports and support. |
| GTIN/EAN | Manufacturer or trade identity. | Use only when the digits and check digit are valid. |
| In-store prefix | Loose goods or shop-managed codes. | Use deliberately and test before training cashiers. |
Print Barcode Labels
The barcode label view uses the saved item code and displays a print preview. Print a test sheet before committing a full roll of labels.
- Open the item action for Barcode labels.
- Choose the label size and barcode type supported by your printer and scanner.
- Decide whether to print item name, selling price, MRP, manufacture date, expiry date or address.
- Use the style controls to fit the shop's physical label stock.
- Scan one printed label back into New Sale before printing many labels.
Scanner Troubleshooting
| Symptom | Check | Fix |
|---|---|---|
| Scanner types numbers but item is not found | Barcode field does not match the printed code. | Edit the item barcode or add an extra barcode. |
| Wrong item appears | Two items share a code or staff scanned the wrong label. | Make barcode values unique and reprint labels. |
| Camera scan button missing | Runtime does not support BarcodeDetector or camera access. | Use a hardware scanner or supported browser/runtime. |
| Label preview is blank | Barcode value is empty or invalid for the selected type. | Enter a valid code or choose a compatible barcode type. |
| SKU works by typing but scanner fails | SKU and Barcode are different. | Use Same as SKU or put the scanned value in Barcode. |