Point of sale

Multiple barcodes

dolixmultibarcode · version 1.0.1

Several barcodes for one product: supplier code, old code, in-store label, pack code. Scanned in TakePOS, each code adds the product to the ticket with its quantity: the code of a pack of 6 adds 6 units.

Price
€49 excl. VAT
Dolibarr
19.0 minimum
Version
1.0.1
Licence
GPL v3+
Languages
French, English, German, Spanish

Sold directly to businesses in France

Direct purchase, with immediate download and an invoice by email, is open to businesses and associations established in France, on the French page of this module. From elsewhere, write to support@dolix.fr.

Support and contact

Try it without installing anything: the online demo (login demo, password demo; sample data, reset every night; the demo is in French).

The TakePOS till in Dolibarr 24.0.2, right after scanning the code of a pack of 6: the product “Vis inox A2 4×40 – boîte de 200” (stainless screws, box of 200) is on the ticket with a quantity of 6, for €136.08 (6 × €22.68).
The TakePOS till in Dolibarr 24.0.2, right after scanning the code of a pack of 6: the product “Vis inox A2 4×40 – boîte de 200” (stainless screws, box of 200) is on the ticket with a quantity of 6, for €136.08 (6 × €22.68). Screenshot of the French-language interface.
01

What the module does

  • “Barcodes” tab on the product card and on the service card: the main barcode is recalled, then the list of additional codes, one-line entry (code, label, quantity) and one-click deletion.
  • The code is typed or scanned straight into the field. The label is free text: “Supplier B”, “Old code”, “Pack of 6 boxes”.
  • Quantity added when scanned: 1 for a simple code, 6 for a pack of 6. Any quantity greater than 0 is accepted.
  • TakePOS till: an additional code scanned or typed in the search adds the product to the ticket with its quantity, at the product's unit price. The till's filters still apply: product for sale, root category of the till, “products in stock only” option.
  • Proposals, orders and invoices: the product selection also recognises these codes. With the classic drop-down list, from Dolibarr 19. With the option “search to select a product” (large catalogues), from Dolibarr 22: before that, Dolibarr does not pass the searched term to modules.
  • No duplicates: a code already used, as an additional code or as a product's main barcode, is rejected, with the reference of the product that uses it.
  • Check digit verified for 8, 12 or 13-digit codes (EAN-8, UPC-A, EAN-13): a typing error is rejected. The check can be disabled in the settings.
  • Codes of up to 128 characters, without spaces: alphanumeric in-house codes are accepted.
  • No Dolibarr file modified: the module uses the hooks provided by Dolibarr.
02

Who it is for

In Dolibarr, a product has a single barcode. In a shop, the same item often carries several: the new supplier's code, the old code still on the stock, the in-store label, the pack code. Scanned at the till, a code Dolibarr does not know means searching for the product by hand, and the pack of 6 is counted by hand.

In Dolibarr, a product has a single barcode. In a shop, the same item often carries several: the new supplier’s code, the old code still on the stock, the in-store label, the pack code.

Scanned at the till, a code Dolibarr does not know means searching for the product by hand. And the pack of 6 is counted by hand.

Who it is for: Shops that use TakePOS at the till and whose items carry several barcodes: change of supplier, old stock, in-store labels, packs or cases sold as a lot.

03

What the module does not do

This section appears on all 29 module pages, without exception.

  • A pack code adds several units of the same product at the unit price: no specific price for the pack or case.
  • The module does not print labels for the additional codes, and these codes do not appear on PDF documents.
  • The search of Dolibarr's product list does not find a product by an additional code: the codes are recognised in TakePOS and in the product selection of proposals, orders and invoices.
  • Before Dolibarr 22, with the option “search to select a product”, only the main code is recognised in documents (a Dolibarr limitation). The classic drop-down list recognises the codes in all versions.
  • No bulk import: codes are added one by one in the product's tab (the field accepts input from a scanner).
  • Duplicates are checked when an additional code is added; the module does not watch the main barcode entered on the product card.
  • Supplier documents (purchase orders and supplier invoices) are not covered by the module's description and have not been tested.
  • Not tested: multi-company, PostgreSQL.
04

How it works

A “Barcodes” tab on the product card

The product card, and the service card, get a “Barcodes” tab. It recalls the product’s main barcode, then lists its additional codes. Each code has:

  • the code itself, typed or scanned straight into the field (up to 128 characters, no spaces);
  • a free label: “Supplier B”, “Old code”, “Pack of 6 boxes”;
  • the quantity added when scanned: 1 for a simple code, 6 for a pack of 6.

A code is deleted with one click on the bin icon.

At the TakePOS till

Scan any of these codes, or type it in the till’s search: the product is added to the ticket with the code’s quantity, at the product’s unit price. A pack-of-6 code adds 6 units at once.

TakePOS filters still apply: the product must be for sale, in the till’s root category if one is set, and in stock if the “products in stock only” option is on.

In proposals, orders and invoices

The product selection of a line also recognises these codes:

  • with Dolibarr’s classic drop-down list, from version 19;
  • with the option “search to select a product” (large catalogues), from Dolibarr 22. Before 22, Dolibarr does not pass the searched term to modules: in that mode, only the main code is recognised. The module says so on screen.

No typing errors

When a code is added:

  • a code already used by a product, as an additional code or as a main barcode, is rejected, and the message gives that product’s reference;
  • for an 8, 12 or 13-digit code (EAN-8, UPC-A, EAN-13), the check digit is verified: a typing error is rejected. This check can be disabled in the settings;
  • a zero or negative quantity is rejected.

No Dolibarr file is modified: the module uses the hooks provided by Dolibarr.

The TakePOS till in Dolibarr 24.0.2, with demo data, right after scanning the code of a pack of 6: the box of screws is on the ticket with a quantity of 6, for €136.08 (6 × €22.68).

The “Barcodes” tab of the same product: supplier B’s code (quantity 1) and the code of the pack of 6 boxes (quantity 6), then the line to add a code. The product has no main barcode.

A new proposal line: the supplier code, typed in the product search, finds the box of screws.

The “Codes-barres” (barcodes) tab of the same product: two additional codes, 3760000000017 “Fournisseur B (nouvel arrivage)” (supplier B, new delivery) with quantity 1, and 3760000000024 “Carton de 6 boîtes” (pack of 6 boxes) with quantity 6, then the line to add a code. The product has no main barcode.
The “Codes-barres” (barcodes) tab of the same product: two additional codes, 3760000000017 “Fournisseur B (nouvel arrivage)” (supplier B, new delivery) with quantity 1, and 3760000000024 “Carton de 6 boîtes” (pack of 6 boxes) with quantity 6, then the line to add a code. The product has no main barcode. Screenshot of the French-language interface.
Adding a line to a proposal: the supplier code 3760000000017 typed in the product search finds the product VIS-INOX-440.
Adding a line to a proposal: the supplier code 3760000000017 typed in the product search finds the product VIS-INOX-440. Screenshot of the French-language interface.
05

Settings

A single setting, on the module’s setup page (reserved for administrators):

Setting Default Effect
Check the check digit of EAN-8, EAN-13 and UPC-A codes ticked Rejects an 8, 12 or 13-digit code whose last digit (check digit) is wrong, usually a typing error. Untick it for in-house codes of that length that do not follow the standard.
The module's settings page, reserved for administrators: a single setting, the check of the EAN-8, EAN-13 and UPC-A check digit (ticked by default), and a reminder of what the codes do and of the permissions needed.
The module's settings page, reserved for administrators: a single setting, the check of the EAN-8, EAN-13 and UPC-A check digit (ticked by default), and a reminder of what the codes do and of the permissions needed. Screenshot of the French-language interface.
06

Security and safeguards

  • Reading: the tab is visible with the Dolibarr permission to read products (or services, for a service).
  • Adding and deleting: the module’s permission, “Add and delete the additional barcodes of products”, and the Dolibarr permission to create or modify products (or services) are needed. Without them, the tab is read-only and says so.
  • Every addition and deletion checks the form’s security token, even if that protection is disabled in Dolibarr’s configuration.
  • A deletion only affects a code of the product shown.
  • Codes are stored per entity: each company of a multi-company installation sees the codes of the products it shares (not tested with multi-company).
  • The settings page is reserved for administrators.
07

What you get

What the module writes to your installation
Database tables createdOne table: llx_dolixmultibarcode. One row per additional code: product, code (up to 128 characters), label, quantity added when scanned, creation date, user, entity. A code is unique within an entity (unique index on entity and code). A single setting, the constant DOLIXMULTIBARCODE_CHECK_EAN (EAN/UPC check digit control, enabled by default). The products table is only read.
PermissionsOne permission: “Add and delete the additional barcodes of products”. The Dolibarr permission to create or modify products (or services, for a service) is also needed. The “Barcodes” tab is visible with the Dolibarr permission to read products or services; without the write permission, it is read-only. Adding and deleting check the form's security token. The settings page is reserved for administrators.
Uninstalling
  • Disable the module in SetupModules/Applications. The tab disappears, and the additional codes are no longer recognised at the till or in documents.
  • Products, their main barcodes, tickets and documents already made are not touched.
  • The llx_dolixmultibarcode table and the module's setting are not deleted: the codes come back if the module is enabled again.

The dolixmultibarcode folder, in readable PHP, under the GPL v3 or later: the module descriptor, the product tab, the settings page, the codes class, the hooks class (TakePOS and product selection), the SQL files of the table and the icons.

  • Languages: French (fr_FR), English (en_US), German (de_DE) and Spanish (es_ES).
  • A README.md and a ChangeLog.md.
  • No Dolibarr core file modified, nothing to add to conf.php.
  • One table: llx_dolixmultibarcode, one row per additional code (product, code, label, quantity added when scanned, creation date, user, entity). A code is unique within an entity.
  • One setting: the constant DOLIXMULTIBARCODE_CHECK_EAN.
  • The products table is only read: the main barcode is never modified.
  • Nothing leaves your server: the module calls no outside service.
08

Compatibility

The module descriptor only declares a minimum version. No upper bound is written in the code: the versions below are those on which the module has actually been run.

Compatibility of the Multiple barcodes module
Dolibarr versionsDolibarr 19.0 minimum. Version 1.0.1 tested on 19.0.4, 20.0.4, 21.0.4, 22.0.5, 23.0.4, 24.0.1, 24.0.2 and 24.0.3.
Minimum PHP7.4
Dolibarr modules to enableProducts
LicenceGPL v3 or later, full source code
LanguagesFrench, English, German, Spanish
MenuNo menu entry. “Barcodes” tab on the product card and on the service card. Settings from the list of modules (Products family).

The test results, Dolibarr version by version, are on the Compatibility tested page.

09

Installation

  1. Buy the module on dolix.fr (module page, “Acheter directement” button), then download the zip. Direct purchase is reserved for businesses and organisations established in France; otherwise, write to support@dolix.fr.
  2. In Dolibarr: HomeSetupModules/Applications“Deploy/install external app/module” tab, then upload the zip. Otherwise, unzip the dolixmultibarcode folder into htdocs/custom/.
  3. Enable “Multiple barcodes” in the list of modules (Products family). It requires the Products module. The codes table is created at that point.
  4. Grant the “Add and delete the additional barcodes of products” permission to the users who enter codes. They also need the Dolibarr permission to create or modify products.
  5. Open a product, “Barcodes” tab, and add its codes. The EAN/UPC check digit control is on by default; it can be disabled in the module's settings.

The details — permissions on the custom folder, shared hosting, upgrades, uninstalling — are on the page Installation and upgrades.

10

Frequently asked questions

Which Dolibarr versions does this module work on?

The descriptor requires Dolibarr 19.0 and PHP 7.4 at least. Version 1.0.1 was installed and tested on 19.0.4, 20.0.4, 21.0.4, 22.0.5, 23.0.4, 24.0.1, 24.0.2 and 24.0.3: integration test with 20 checks, deletion of a product and its codes, update from 1.0.0, with no PHP message from the module; on 19.0.4 to 24.0.2, a browser run (adding a code, deleting the product, reusing the code). Scanning at the TakePOS till and product selection in a proposal were tried on screen on 19.0.4 and 24.0.2. If you are unsure about your version, write before buying.

What happens when I scan the code of a pack of 6 in TakePOS?

The product is added to the ticket with a quantity of 6, at the product's unit price: 6 boxes at €22.68 make €136.08. The module does not create a “pack” product and applies no specific price to the lot.

Do I need to enable Dolibarr's Barcodes module?

The module only requires the Products module. On the screenshots, the product does not even have a main barcode: only its additional codes are used. The main code, if there is one, keeps working as before.

Can I give the same code to two products?

No. When a code is added, a code already used as an additional code or as a product's main barcode is rejected, and the message gives the reference of the product that uses it. The check applies to codes added in the tab: the module does not watch the main barcode entered on the product card.

A code is rejected with “Wrong EAN/UPC check digit”. Why?

For a code of 8, 12 or 13 digits, the last digit is a key calculated from the others. If it does not match, it is usually a typing error. For in-house codes of that length that do not follow the standard, untick the check in the module's settings.

Do the additional codes work in proposals and invoices?

Yes, in the product selection of proposals, orders and invoices. With the classic drop-down list, from Dolibarr 19. With the option “search to select a product”, from Dolibarr 22 only (tested on 24.0.2): before 22, Dolibarr does not pass the searched term to modules, and only the main code is recognised in that mode.

And if I uninstall?

The tab disappears and the additional codes are no longer recognised. Your products, their main codes, tickets and documents are not touched. The codes table stays in the database: if you enable the module again, the codes are still there.

How do I buy the module, and how do support and updates work?

The module is sold directly on dolix.fr, by card: the invoice arrives by e-mail and the zip can be downloaded straight away. Direct purchase is reserved for businesses and organisations established in France; if that is not your case, write to support@dolix.fr. For 2 years, the latest version can be downloaded at dolix.fr/telecharger/, with the invoice number and the e-mail address. Support is provided by the person who wrote the module, at support@dolix.fr.

11

Version history

Taken from the module’s ChangeLog.md file: a single source.

1.0.114 November 2026

Deleted product: its additional codes are deleted with it. Before, they stayed in the database: the code could no longer be given to another product and a scan could return the deleted product. Codes left over by 1.0.0 are ignored when scanning, reusable, and removed by disabling then re-enabling the module. Tested on 19.0.4, 20.0.4, 21.0.4, 22.0.5, 23.0.4, 24.0.1, 24.0.2 and 24.0.3.

1.0.018 October 2026

First version: “Barcodes” tab on the product and service card (code, label, quantity added when scanned); checks when adding (unique code, including against main barcodes, EAN-8, EAN-13 and UPC-A check digit that can be disabled, quantity greater than 0); scanning in TakePOS with the code's quantity; codes recognised in the product selection of proposals, orders and invoices (classic list from 19, search mode from 22); Dolibarr permissions respected, codes per entity. Interface in French, English, German and Spanish.

12

Support for this module

Write to support@dolix.fr. The person who wrote the module is the one who replies.

Reply within two working days. This is not an on-call service.

To include in your message

  • The exact Dolibarr version.
  • The module concerned and its version — here dolixmultibarcode 1.0.1.
  • What you did, and what you expected.
  • The error message copied exactly, or a screenshot.
  • How Dolibarr is installed, if you know.

Sold directly to businesses in France

Direct purchase, with immediate download and an invoice by email, is open to businesses and associations established in France, on the French page of this module. From elsewhere, write to support@dolix.fr.

Support and contact
Also

The other modules

Orders to collect in TakePOS

dolixretrait · v1.0.2

The customer comes to collect a pre-order: one click in TakePOS copies it into the ticket, and after payment the order is classified billed, even if the weight changed.

Sold in FranceRead more

TakePOS cash closing

dolixcloture · v1.0.0

Bank deposits, withdrawals to the safe, cash in and cash expenses recorded from TakePOS, a count by notes and coins, and the discrepancy booked so that the cash account matches the drawer.

Sold in FranceRead more

For your sales of goods to consumers in other EU countries: the VAT rate of the customer's country, found from the product's customs code and the European Commission's official rates, draft invoices fixed in one click, tracking of the €10,000 threshold and the quarterly OSS return.

Sold in FranceRead more

Stored computed fields

dolixcalc · v1.0.0

An extra field computed by a formula written without PHP, with its value stored: right in the lists, sortable, filterable and printable on PDFs.

Sold in FranceRead more

Keyboard shortcuts

dolixshortcuts · v1.0.0

Ctrl+S (Cmd+S on Mac) saves the record you are filling in, without scrolling down to the button. g then a letter opens third parties, proposals, orders, invoices or products. ? shows the help.

Sold in FranceRead more

Google Contacts two-way sync

dolixgcontacts · v1.0.0

Dolibarr contacts and Google Contacts synced both ways, for each user. Only the contacts with the “Dolibarr” label in Google are involved, and a field changed on both sides is settled by the rule you chose.

Sold in FranceRead more

Dolix Coop

dolixcoop · v1.0.0

For cooperative and community grocery stores: shelf labels with the price per kilo or per litre, the customer's membership status in the TakePOS checkout, a simplified home page and menu for volunteers, a quick inventory on the phone.

Sold in FranceRead more