Magento 2 Barcode Generator Scanner Extension

Magento 2 Barcode Generator Scanner Extension User Guide

Configure barcode generation, label templates, CSV import, barcode printing, and scanner-based product lookup in Magento 2.

View Product Page

Who This Guide Is For

This guide is for Magento administrators and operations teams who need to create product barcode records, print labels, import existing barcode data, and scan products for quick identification.

Features of the Barcode Extension

  • Barcode Generation: Generate barcode values for selected products using configured patterns.
  • Barcode Management: Review, filter, edit, export, and print barcode records from Magento admin grids.
  • Label Templates: Configure reusable label layouts, barcode formats, paper sizes, margins, and product fields.
  • Bulk Import: Import existing product barcode assignments from CSV.
  • Print Workflow: Select barcode records and print labels with the required template and quantity.
  • Scanner Lookup: Scan or enter a barcode to find the linked product and stock status.
  • History Tracking: Review generated and imported barcode batches for operational traceability.

Configure Barcode Settings

From Magento Admin, go to Stores > Configuration > Agile Codex > Barcode Configuration.

  • Enable or disable barcode functionality.
  • Choose whether each product SKU should use one barcode.
  • Define the default generated barcode pattern.
  • Select the default label template for printing.
  • Optionally use a product attribute as the barcode source.
Magento 2 barcode extension configuration
Configure barcode generation behavior and the default print template.
Expanded Magento 2 barcode configuration options
Review expanded configuration fields before saving the barcode setup.

Create and Manage Barcode Records

Open the barcode management grid to review existing barcode assignments and create new barcode records.

  1. Filter the grid by barcode, SKU, supplier, ID, or purchase date.
  2. Open a barcode record to review the linked product and metadata.
  3. Use grid mass actions to print selected barcode labels.
  4. Export grid data when you need an operational barcode report.
Magento 2 barcode management grid
Manage product barcode assignments from the Barcode Management grid.
Magento 2 barcode detail page
Open a barcode record to review its linked product, quantity, supplier, and purchase information.

Generate Barcodes for Products

  1. Open the barcode generation screen.
  2. Select the products that need generated barcode values.
  3. Confirm the quantity and reason for the generation event.
  4. Generate the barcode batch and review the result in generation history.

You can also generate barcode values for selected catalog products from the product grid when that workflow is enabled.

Generate Magento 2 product barcodes
Generate product barcode values from the barcode generation screen.
Select Magento 2 products for barcode generation
Select catalog products before generating a barcode batch.

Review Generation and Import History

Barcode history records generated and imported barcode batches so administrators can trace when barcode values were created and which products were included.

  • Review batch date, administrator, quantity, and operation type.
  • Open the batch detail screen for barcode, SKU, supplier, quantity, and purchase information.
  • Use the batch record for follow-up label printing where supported.
Magento 2 barcode generation history
Track generated and imported barcode batches in history.
Magento 2 barcode generation history detail
Review the products and barcode values included in a generation batch.

Import Existing Barcode Data

  1. Download the sample CSV file and prepare your barcode data in the expected format.
  2. Upload the completed CSV from the barcode import screen.
  3. Review validation messages and correct any rejected rows.
  4. Confirm successful imports from the barcode listing and history screens.
Import barcode data into Magento 2
Use CSV import when existing barcode assignments should be loaded in bulk.

Create Label Templates

Label templates control how barcode labels are rendered for printing.

  • Choose the barcode format, such as Code 128, Code 39, EAN-13, ITF-14, or another supported format.
  • Set paper width, paper height, label width, label height, and margins.
  • Choose product fields such as product name, SKU, and price.
  • Enable or disable templates according to the labels used by staff.
Magento 2 barcode label templates grid
Manage reusable barcode label templates from the Label Templates grid.
Edit Magento 2 barcode label template
Configure barcode format, label size, paper size, margins, and product fields.

Print Barcode Labels

  1. Select one or more barcode records.
  2. Choose the label template.
  3. Set the number of copies when needed.
  4. Open the print view and print through the browser using the configured printer and paper.
Print Magento 2 barcode labels
Select barcode records and print labels using an active label template.

Scan a Barcode to Find a Product

Use the scanner lookup screen with a keyboard-compatible USB or wireless scanner, or enter the barcode value manually.

  • Find the product linked to the scanned barcode value.
  • Review product name, image, price, weight, color, status, and stock availability.
  • Review barcode quantity, supplier code, creation date, and purchase date.
  • Open the related Magento product record or print another label when needed.
Scan barcode to find a Magento 2 product
Scan or enter a barcode to look up the connected Magento product.

Catalog and Sales Workflows

The extension connects barcode records with Magento catalog products and supported order workflows without replacing Magento inventory management.

  • Generate or print barcode labels from supported Catalog product selections.
  • Use product-grid actions where available to work with selected catalog products.
  • Reference barcode information while reviewing order or fulfillment-related records.
  • Continue using Magento Inventory or MSI for stock adjustments, reservations, and source quantities.
Magento 2 catalog products barcode workflow
Use supported catalog product selections for barcode generation and printing workflows.
Magento 2 sales orders with barcode workflow
Barcode information can support order and fulfillment review workflows where enabled.

Installation and Verification

Install and test the extension on a development or staging environment before production.

  1. Copy the supplied extension package into your Magento installation according to your deployment process.
  2. Run php bin/magento setup:upgrade.
  3. Run php bin/magento setup:di:compile in production mode.
  4. Deploy static content when required for the active locale and theme.
  5. Run php bin/magento cache:flush.
  6. Confirm that barcode menus, configuration, label templates, generation, import, print, and scanner lookup screens are available for the assigned admin role.

Troubleshooting

  • Barcode is not generated: Check product selection, barcode pattern configuration, duplicate values, and admin permissions.
  • Imported rows are rejected: Confirm SKU values, barcode uniqueness, required CSV columns, and file format.
  • Print output is misaligned: Review template paper size, label dimensions, margins, labels per row, browser scaling, and printer settings.
  • Scanner does not find a product: Confirm the scanner sends the same barcode value stored in Magento and that the barcode record is linked to the expected product.
  • Staff cannot access screens: Review Magento admin role permissions for barcode listing, generation, import, label templates, print, scan, history, and configuration.

Ready to generate and print barcode labels in Magento 2?

Generate product barcodes, manage label templates, print barcode labels, and scan products from Magento admin workflows.

  • Barcode generation for catalog products
  • Configurable label templates and barcode formats
  • CSV import, print workflow, and scanner lookup

30-day money back guarantee • Free lifetime updates • 30 days free support

SUPPORT

For further assistance, please send your query through the Contact AgileCodex Support page.

Magento 2 project support

Tell us what you want to improve in your Magento store.

Share the issue, feature idea, integration, upgrade, or support need. We will review the scope and suggest a practical next step for your store.