Skip to content

StockGuide

Barcodes for a grocery or mini-mart: a setup guide

Use manufacturer barcodes where they exist, give loose goods your own codes, set up scale labels, print clean labels and test a scanner first.

Checked 7 min readBy Mandala POS team

A good barcode setup is the difference between a counter that moves and a counter with a queue. Packaged goods usually arrive with a barcode already printed. The work is in everything else: loose goods, repacked items, products from small suppliers, and anything sold by weight.

This guide goes through the kinds of barcode you will meet, how to label what has none, how scale labels work, and how to test a scanner before you buy ten.

Barcodes that come with the product

Most packaged goods carry an EAN-13 barcode: thirteen digits, the last one a check digit that lets software catch a misread. Some imported goods carry a UPC-A code, which has twelve digits. Treat these manufacturer codes as the identity of the product. Scan them into your catalogue instead of typing them, because a single wrong digit gives you a different product.

  • One product can have more than one barcode, for example a new and an old pack design.
  • A pack of 12 usually has its own barcode, separate from the single unit inside it.
  • If software refuses a barcode, check it. A wrong check digit usually means a bad scan or a typo.

Your own codes for loose goods

Loose rice, local sweets, repacked spices and fruit have no barcode. Give each its own short store code and keep the list simple, for example a number series for each category. Do not reuse a code for a different product, and do not change a code once labels are printed.

Pack sizes and units

Decide how you sell each product. A carton of 24 bottles can be sold as a carton, as single bottles, or both. Set up the single unit as the stock unit and the carton as a pack that contains 24. Then scanning the carton sells 24 and scanning a bottle sells one, and stock stays correct either way.

The same holds for units: pieces, pairs, sets, kilograms, grams, litres, metres. Choose the unit you count stock in, and keep it the same everywhere.

Weighing scale labels

A weighing scale in a mart can print a label for loose goods. The label carries a barcode that holds the product and either the weight or the price. At the counter, one scan then gives the item and the quantity.

Weight labels and price labels

Label typeWhat the barcode holdsWatch for
Weight labelThe product code and the weightThe weight unit the scale uses, such as 10 g steps
Price labelThe product code and the total priceThe shelf price must match the price in the scale

Scales differ in how many digits they use for the product, the weight and the price, and in the leading digits. Your scale manual says how its labels are built. Take the layout from the manual, then confirm it with a few real labels from your own scale before you trust it.

With price labels, keep the scale and the system on the same price. If you change the price in one and not the other, the label and the bill disagree. Weight labels are safer for that reason, because the system sets the price at the counter.

Printing labels

You have three practical options.

  • A4 label sheets. Cheap and easy with an ordinary printer. Sheets come in layouts with different numbers of labels per page, so buy a layout your software can print. Test alignment on plain paper before using a full sheet.
  • A label printer. Faster and cleaner for a mart that prints often. It prints one label at a time on a roll. Check that its driver works with your computer before you buy.
  • The receipt roll. Fine for an occasional label when you have nothing else.

A good shelf label shows the product name, the price, the maximum retail price (MRP) if you sell at or below it, and a barcode big enough to scan. Print the barcode large, with a clear white margin around it, and leave it flat. Do not print it on a curved or shiny surface.

Choosing a scanner

TypeGood forWatch for
USB scannerA fixed counter with a computerCable length, and a 2D model if you scan phone screens
Bluetooth scannerA tablet or phone, or a counter without a cablePairing, battery, and keeping it near the device
Phone cameraA small shop, a backup, or checking stock on the shelfSlower than a scanner, and needs good light

Test before you buy many

Many scanners work like a keyboard: they type the digits and press Enter. Software can treat a slow scanner as a person typing, and then misread it. So test with your own software, in your own shop, before you order ten.

  • Buy or borrow one scanner first and keep the receipt.
  • Scan twenty real products from your shelves, including shiny and small packs.
  • Scan a crumpled or old label, and one on a curved bottle.
  • Scan from a normal counter distance and at a slight angle.
  • Scan a weighing scale label, if you use one.
  • Check that each scan adds exactly one item and no extra characters appear.
  • Run the scanner for a full busy hour before you decide.

Common mistakes

  • Typing barcodes by hand instead of scanning them, and creating duplicates.
  • Using the same code for two products, or two codes for one stock item.
  • Changing a store code after the labels are on the shelves.
  • Printing barcodes too small, or on dark or shiny paper.
  • Selling a carton and its single units as unrelated products, so stock never matches.
  • Setting a scale price label and the shelf price differently.
  • Buying scanners in bulk before testing one.

A one-week setup plan

  1. Day 1: scan every packaged product into the catalogue.
  2. Day 2: list all loose and repacked goods and give each a store code.
  3. Day 3: set pack sizes and units.
  4. Day 4: print labels on plain paper and check size and alignment.
  5. Day 5: test the scale labels, if you use a scale.
  6. Day 6: run mock sales at the counter with a friend.
  7. Day 7: fix what went wrong, then go live.

How Mandala POS helps

Mandala POS takes manufacturer barcodes, pack sizes, your own store codes, and weighing scale labels, and it prints labels on A4 sheets, a label printer or the receipt roll. We have not yet tested a named scanner, printer or scale model, so test your own, as above. Read more about stock and barcodes and hardware.

Questions and answers

What is an EAN-13 barcode?

It is the common 13 digit barcode on packaged goods. The last digit is a check digit that lets software catch a misread.

How do I give a barcode to loose goods?

Make your own short store code for each product, keep a list, print it on a label and never reuse or change the code afterwards.

Can software read the label from my weighing scale?

Many can, but scales build their labels differently. Check your scale manual and test real labels in the software before relying on it.

How do I test a scanner before buying many?

Buy one first. Scan twenty real products, including old and shiny labels, and use it through a busy hour in your own software.

Sources

  1. Mandala POS product notes (C.A.N. Tech Pvt. Ltd.). Internal release notes, hardware notes and design decisions for barcodes, packs, scale labels and labels; read 20 November 2026. Barcode formats are described in general terms; check your scale manual for its exact label layout.

This article explains rules in plain words; it is not legal or tax advice. Rules and limits change, so check the current notice from the Inland Revenue Department or ask your tax office before you rely on them.

Try Mandala POS free for 7 days

Download the app, sign up with your mobile number and start billing. Want a hand? We set up your store with you, free.

Help on WhatsApp and phone, Sunday to Friday, 08:00 to 20:00, Nepal time