EN
Inventory and Products

How Do You Set Up a Barcode System? A Guide to Product, Variant and Carton Barcodes, Catalog Cleanup, Multiple Barcodes and Checkout Speed Calculation

How do you set up a barcode system? Product, variant and carton barcodes, catalog cleanup, multiple barcodes and checkout speed calculation: an 8-lesson practical guide with examples.

Contents 14 sections
  1. What will you be able to do by the end of this training?
  2. Lesson 1: Why do you need a barcode system?
  3. Lesson 2: What is the difference between a barcode and a stock code?
  4. Lesson 3: Which barcode is assigned to a product, a variant and a carton?
  5. Lesson 4: How do you clean up barcodes in the existing catalog?
  6. Lesson 5: How do you assign more than one barcode to the same product?
  7. Lesson 6: How much time does barcode scanning save at checkout?
  8. Lesson 7: How are barcodes used in stock counts and shipping?
  9. Lesson 8: How do you maintain the barcode system once it is set up?
  10. What are the most common mistakes in a barcode system?
  11. How does NetKasam make barcode management easier?
  12. Mini quiz: Test what you have learned
  13. Conclusion: Count the missing and duplicate barcodes in your catalog this week
  14. Frequently Asked Questions About Barcode Systems

A customer is waiting at checkout, the employee searches for the product by name, three similar pairs of jeans come up in the list, and the fact that the wrong size was sold only becomes clear at the stock count. Another day, a product sold on a marketplace turns out to have the same barcode as a product in the store, and inventory goes off in both channels. Most of these problems come not from the product but from a missing barcode system: each product, each variant and each carton has not been given a single, unique identity.

This article is not just an explanation; it is an 8-lesson practical course. We will answer how to set up a barcode system with numbers using a sample catalog: what a barcode is for, which barcode to assign to a product, a variant and a carton, how to clean up the existing catalog, how to manage the same product with more than one barcode, the time saved at checkout and the monthly routine of the setup. At the end there is a mini quiz and an answer key. For choosing inventory software, see the article how to choose inventory tracking software; here we organize the codes step by step.

What will you be able to do by the end of this training?

In short: You will define barcode rules for products, variants and cartons, weed out missing, duplicate and invalid barcodes in your existing catalog, manage the same product with different barcodes in different channels and calculate the time saved at checkout.

Course mapThe six steps of setting up a barcode system
  1. 01
    UnitDecide which unit gets a code.
  2. 02
    RuleDefine the code format and uniqueness.
  3. 03
    CleanupWeed out missing, duplicate and invalid codes.
  4. 04
    ChannelAssign extra barcodes to the product if needed.
  5. 05
    CheckoutStart testing sales by scanning.
  6. 06
    RoutineKeep the rule when adding new products.

The 8 lessons of the course: (1) why you need barcodes, (2) the difference between a barcode and a stock code, and the check digit, (3) codes for products, variants and cartons, (4) cleaning up the existing catalog, (5) multiple barcodes and channels, (6) checkout speed calculation, (7) barcodes in stock counts and shipping, (8) the monthly routine after setup.

Lesson 1: Why do you need a barcode system?

In short: A barcode is an identity that lets a machine recognize a product in one go and without error, instead of describing it by name. Names resemble each other; barcodes do not.

"Basic T-Shirt Black M" and "Basic T-Shirt Black L" are two variants of the same product; on screen they look very similar. Their barcodes, however, are different, and when scanned only one opens. A barcode system gives a business four basic benefits:

BenefitWithout barcodesWith barcodes
SpeedSearching for the product by name and picking it from a listScanning, a single action
AccuracyProducts with similar names get mixed upEach variant has its own code
InventoryThe wrong variant is deducted from stockThe right variant's stock is deducted
TrainingNew employees memorize the productsUsing the scanner is enough

Sample business: 120 products, an average of 6 variants, 720 sellable variants in total. It sells in a store and through an e-commerce channel. For the basic concepts on the inventory side, see the article what you need to know about inventory management.

Lesson 2: What is the difference between a barcode and a stock code?

In short: A stock code is a code you assign for your own internal organization; a barcode is a code the scanner recognizes and that usually follows standards. Both must be unique, but they are not the same thing.

FeatureStock codeBarcode
Who sets it?The businessThe business or a standards body
FormatFree-form (e.g. TSR-SYH-M)Usually numeric (e.g. 13 digits)
UseInternal reports, warehouse organizationScanning, sales, marketplaces
UniquenessRequiredRequired

One of the common barcode types is the 13-digit code. The last digit of this code is the check digit: it is calculated from the first 12 digits and helps catch a mistyped code. The calculation is: multiply the first 12 digits from left to right alternately by 1 and 3, add them up, and the number that brings the total up to the next multiple of ten is the check digit.

FormulaFour calculations used in barcode setup
  1. Check digit = (10 − (Weighted sum mod 10)) mod 10; weights from the left 1, 3, 1, 3…
  2. Ready rate = Variants ready for use ÷ Total variants × 100
  3. Daily time saved = Sales made by search × (search time − scan time)
  4. Duplication rate = Variants with duplicate barcodes ÷ Total variants × 100

Prepared with sample values.

Example: for a code whose first 12 digits are 869000000001, the weighted sum is 8×1 + 6×3 + 9×1 + 1×3 = 38; the check digit is (10 − 8) = 2, and the code becomes 8690000000012. This code is used only to show the calculation; use your own barcode number for your actual product. A code whose check digit does not match contains a typing error.

Lesson 3: Which barcode is assigned to a product, a variant and a carton?

In short: Every unit sold separately to the customer gets its own barcode. For products with sizes and colors, each combination is a separate variant and carries a separate barcode; if a carton or box is sold separately, it also gets its own barcode.

UnitExampleBarcode needed?Why?
Product (parent record)Basic T-ShirtNo, the variant is what is soldSize and color are not specified
VariantBasic T-Shirt Black MYesInventory is kept at this unit
BoxBasic T-Shirt Black M, carton of 12Yes, a separate oneIn wholesale, the carton is scanned
Set3-piece T-shirt setYesSells more than one product as a single line item

NetKasam's in-store POS screen allows sales with a product, variant or carton barcode, so the right variant's stock is deducted for products with sizes. For set definitions and tiered pricing and wholesale, see the inventory management page. The article how to manage products with variants on marketplaces complements this on how to set up a variant product structure on marketplaces.

Lesson 4: How do you clean up barcodes in the existing catalog?

In short: First export the product list and weed out three types of problems: products without a barcode, products sharing the same barcode and codes whose check digit does not match. Each goes onto a separate list and is resolved with a separate method.

Chart612 of the catalog's 720 variants are ready after cleanup
  1. Total variants720 units
  2. Missing barcode−66 units
  3. Duplicate barcode−18 units
  4. Invalid format−24 units
  5. Ready variants612 units

Prepared with sample values. Ready rate 85%; duplication rate 2.5%.

ProblemCountHow do you find it?How do you fix it?
Missing barcode66Those with an empty barcode columnAsk the manufacturer or assign your own number
Duplicate barcode18Variants sharing the same barcodeLook at the physical product and determine the right code
Invalid format24Wrong number of digits or a check digit that does not matchCompare with the label and re-enter

A duplicate barcode is the most dangerous: if two different variants carry the same code, it is unclear which one will be deducted when scanned. Doing a count before entering opening stock and verifying the codes at the same time is the most solid approach. For how to do the count, see the article how to do a stock count.

ChartShare of variants with ready barcodes by category
  1. Cosmetics95%
  2. Apparel92%
  3. Footwear88%
  4. Accessories81%
  5. Home textiles75%

Prepared with sample values. The lowest rate is in home textiles; starting the cleanup there gains the most.

You can import your existing products into NetKasam using Excel; before importing, check that stock codes and barcodes are unique. If you are switching from another program, the checklist in the article how to transfer data when changing accounting software will help.

Recommended ReadingHow Do You Do a Stock Count?

Lesson 5: How do you assign more than one barcode to the same product?

In short: Some channels and suppliers require different barcodes for the same product. In NetKasam, more than one barcode can be assigned to a product, so you can sell the same product on domestic and international marketplaces.

SituationWhat to do?
The supplier's code differs from your own codeBoth are assigned to the same product; whichever is scanned, the product opens
Different marketplaces require different barcodesA separate barcode is kept for each channel
The product was relaunched with new packagingThe old barcode stays and the new barcode is added
Expanding into a foreign marketAn international barcode is added

On the marketplace side, you can list each product on different marketplaces and in your different stores using dynamic barcode templates. This way, barcode and pricing processes are set flexibly and automatically instead of being entered manually one by one; for details, see the marketplace integration page. Copying a new product from a similar one instead of entering it from scratch also saves time.

How inventory is synchronized across channels is a separate topic; for that see the article how to do marketplace inventory synchronization, and for listing products on external channels via XML, see the article how to do an XML integration.

Lesson 6: How much time does barcode scanning save at checkout?

In short: Time saved = number of sales made by search × (search time − scan time). Times vary from business to business; measure a few sales at your own checkout and plug them into this formula.

In the example there are 200 sales a day, distributed as follows:

Chart160 of 200 daily sales are made by barcode
  • Barcode scan₺16080%
  • Search by name₺3015%
  • Manual entry without barcode₺105%

Prepared with sample values.

Sale typeCountTime (per sale)Total
Barcode scan1604 s640 s
Search by name3018 s540 s
Manual entry without barcode1030 s300 s
Total2001,480 s (24.7 min)

If all sales were made by barcode, it would take 200 × 4 = 800 s (13.3 min). The difference is 680 s, or about 11.3 minutes a day. Over 26 working days, 680 × 26 = 17,680 s ≈ 4.9 hours. The figure may not look big, but the customer patience lost while waiting at checkout and the correction work caused by the wrong variant come on top of it.

Takeaways from the exampleFour numbers from the sample catalog
  • 720total variants (120 products)
  • 85%share of variants ready after cleanup
  • 2.5%duplicate barcode rate (18 / 720)
  • ≈ 4.9 hourscheckout time saved per month

On the NetKasam in-store POS screen, you can scan with a barcode scanner or add the product by searching; you can find a product without a barcode by its name and add it manually. For products where speed matters, defining a barcode is still the most practical way. For details, see the in-store POS screen page, and for the end-of-day cash routine, see the article daily cash count and cash register closing.

Lesson 7: How are barcodes used in stock counts and shipping?

In short: A barcode keeps the same identity not only in sales but also in warehouse receiving, stock counts and shipping. If the same code is read at every step, there are no product-matching problems between different screens.

StageRole of the barcodeCommon mistake
Goods receiptThe code of the incoming product is compared with what was orderedAccepting the wrong variant
Shelf placementThe product is recorded to the right warehouse and shelfKeeping the same product in two places with different codes
Stock countThe counted product is matched to its codeCounting a product without a barcode by name
PackingThe code of the ordered product is compared with what is packedSending a similar product by mistake
ShippingThe shipping label and tracking information are linked to the orderSticking the label on another order

On the shipping side, creating barcodes, printing shipping labels and sending tracking information to the customer are automated through the integration; for details, see the shipping integration page. The article how to do order picking and packing complements this on packing, and the article how to transfer stock between warehouses on inter-warehouse transfers.

Lesson 8: How do you maintain the barcode system once it is set up?

In short: A barcode system is not set up once and then left alone. If the same rule is not applied when new products are entered, missing and duplicate barcodes pile up again within a few months.

When?What to do?Who?
Every time a new product is addedA barcode is entered per variant; conflicts with existing ones are checkedProduct manager
WeeklySales added without a barcode are reviewedStore manager
MonthlyThe catalog is exported and checked for missing and duplicate barcodesManagement
Stock count periodUnreadable labels are replacedWarehouse
YearlyThe need for extra barcodes for channels is reviewedManagement

When defining users and permissions for employees, keeping product creation rights with a small number of people is the most practical way to maintain barcode discipline; for the method, see the article how to set user permissions. The article how to clear dead stock is useful for moving unsold products.

Recommended ReadingHow Do You Manage Store and E-Commerce Inventory from One Center?

What are the most common mistakes in a barcode system?

  1. Not giving variants a barcode. If only the parent product gets a code, the right stock is not deducted for products with sizes.
  2. Assigning the same barcode to two variants. It remains unclear which product was scanned.
  3. Generating the barcode from the product name. When the name changes, the code has to change too.
  4. Not verifying the check digit. A typing error is only noticed when it fails to scan at checkout.
  5. Keeping the carton and the single unit under the same code. In wholesale, 1 unit is deducted instead of 12.
  6. Loading opening stock without a count. Even if the barcode is right, the quantity starts out wrong.
  7. Dropping the rule for new products. The system breaks down again within a few months.

How does NetKasam make barcode management easier?

  • Unlimited variants. For products with sizes and colors, each variant's stock and image are kept separately (inventory management).
  • Multiple barcodes. By assigning more than one barcode to your product, you can sell in domestic and international markets.
  • Barcode sales in the store. Fast sales are made with a product, variant or carton barcode; a product without a barcode is added by name (in-store POS screen).
  • Dynamic barcodes on marketplaces. The same product is listed on different marketplaces and stores using barcode templates (marketplace integration).
  • Excel import. Existing products are imported using Excel; a new product can be copied from a similar one.
  • Stock movements report. You track a product's receipt, issue and sales history (reports).
  • Bookkeeping is free. e-Invoice, customer and supplier accounts, inventory, cash, bank and expense management are free in every plan; see the pricing page for details.

Mini quiz: Test what you have learned

In short: Answer the 5 questions below, then compare with the answer key. 4 or 5 correct shows you have completed the training.

  1. In a catalog of 400 variants, 36 variants have missing barcodes, 12 are duplicates and 12 are invalid. What are the number and share of ready variants?
  2. What is the check digit of a code whose first 12 digits are 869000000001?
  3. If 40 of 100 daily sales are made by searching by name (18 s) and scanning takes 4 s, how much time is saved per day if all these sales are scanned?
  4. What do you do if the same product has both a supplier barcode and your own barcode?
  5. Why is a duplicate barcode more dangerous than a missing barcode?

Answer key:

  1. 400 − 36 − 12 − 12 = 340 variants ready; the share is 340 ÷ 400 = 85%.
  2. Weighted sum 8 + 18 + 9 + 3 = 38; check digit (10 − 8) = 2 (code 8690000000012).
  3. 40 × (18 − 4) = 40 × 14 = 560 s, about 9.3 minutes.
  4. Both are assigned to the same product; whichever is scanned, the same product opens.
  5. If two variants carry the same code, it is unclear which product was scanned and stock may be deducted from the wrong one; a missing barcode, at least, gets noticed.

Frequently Asked Questions About Barcode Systems

How do you set up a barcode system?

First decide which units (variant, carton, set) will get a barcode, clean up missing, duplicate and invalid codes in the existing catalog, then apply the same rule when adding new products.

Does every variant need its own barcode?

Yes. For products with sizes and colors, inventory is kept at variant level, so each combination should carry its own barcode.

Is a barcode the same as a stock code?

No. A stock code is a free-form code you assign for your internal organization; a barcode is the code the scanner recognizes. Both must be unique.

Can more than one barcode be assigned to a product?

In NetKasam, more than one barcode can be assigned to a product; this way the supplier code, your own code and the codes required for different markets are kept on the same product.

How do you sell a product without a barcode?

On the in-store POS screen, it can be searched by product name and added manually. For fast-selling products, defining a barcode is still more practical.

What is the check digit for?

In 13-digit codes, the last digit is calculated from the first 12 digits and helps catch a mistyped code.

Do you need a separate barcode for selling by the carton?

Yes, if the carton is sold separately. The NetKasam store screen allows sales with a product, variant or carton barcode.

How do I import my existing products with their barcodes?

You can import your product list from Excel; before importing, check that stock codes and barcodes are unique.

Conclusion: Count the missing and duplicate barcodes in your catalog this week

A barcode system is not a big investment; it is sticking to a consistent rule. This week, export your product list, count the missing, duplicate and invalid barcodes and calculate your ready rate. Start with the category that has the lowest rate; you will see the difference at checkout and in the warehouse within the first week.

Bookkeeping Is Now Completely Free

Manage your bookkeeping and e-Invoice operations with NetKasam without paying a thing. Customer and supplier accounts, inventory, collections and more in one panel, completely free.

Start FreeInventory Tracking

Read similar articles

19 free tools

Commission, shipping, VAT and profit calculations in your browser, no sign-up needed.

All tools