Magento 2 Barcode Extension by Mageplaza
A barcode is a medium to encode data in a visual pattern which a scanner machine can read. The combination of white and black lines (or some other elements), which is based on a set algorithm for the barcode type, shows multiple text characters.
A barcode is utilized as a locator to a record in a database. Stores, particularly wholesale ones, are concerned about using barcodes to monitor a range of data, from pricing to inventory. This is because barcodes can help decrease data entry and are more precise than human keyboard input.
To leverage barcode usage on your Magento 2 store, you can consider installing the Barcode extension by Mageplaza. It acts as a supporting tool to add barcodes to items, customize the barcode design, and print them easily.
Table of contents
Why is Mageplaza Barcode Module one of the best for Magento 2 stores?
Provide auto-generated barcodes
Thanks to the Barcode extension, a huge number of barcodes for mass products can be generated automatically with one click only.
From the admin backend, admins simply need to click on Run, and each item will be given one distinct barcode immediately.
All the barcodes will observe the pattern of the barcode number template, including numeric, alpha, and alphanumeric, which can be configured in the backend. For instance, the pattern is [4AN] – [4A] – [4N].
Offer three different barcode-generating attributes
A remarkable feature of Barcode is enabling admins to choose the encoded attributes according to which barcodes will be created. Store admins are given three options:
- Create barcodes according to Product SKU
- Create barcodes according to Product Bane
- Create barcodes according to Mageplaza Barcode
Support more than 30 barcode types
The Barcode module supports 30+ encoding types. This provides a number of barcode symbologies that are different in qualities, including capacity and linearity.
For instance, code 38 – the oldest barcode type is the widely-used symbology found in electronics, healthcare, and government, while code 128 is often used in packaging and shipping applications. The variety of barcode types will meet any applications of all stores in multiple industries.
Provide 4 ready-made barcode label templates
The extension offers 4 pre-made templates for barcode labels with various components:
- Classic 1: 3 layers including product name, barcode, and product number
- Classic 2: 2 layers including barcode and product number
- Standard: 4 layers consisting of product name, barcode, product number, and price
- Standard with QR code: Standard styles with additional QR codes
Store owners can flexibly choose the favorite templates to apply to products immediately.
Allow customizing barcode level
Admins can customize the design of the barcode label as their expectations. They are allowed to customize all specifications of barcode:
- Barcode width
- Barcode height
- Add logo
- QR code size
- Custom barcode content with variables
- Custom barcode label specifications with CSS
Allow customizing printing paper
When the barcode design is done, the next step is to set up printing. The Barcode module enables printing barcodes right from the product grid easily. Moreover, printing paper can be customized to match any specific usage:
- Paper size: A4, A5, A6, Letter
- Paper orientation
- Paper margin
- Barcode label width
- Barcode label height
- Barcode label paddling
- Vertical spacing
- Horizontal spacing
If you want to use templates, the extension supports 3 ready-made paper templates:
Template OL161 (12 labels/ 1 page), Template OL171 (8 labels/ 1 page), Template OL160 (18 labels/ 1 page).
For more paper templates, you can reach out to Mageplaza’s customer support team.
Extra features
Support importing & printing barcodes
Store owners can import barcodes from a CSV file to the store backend and print barcodes from an imported file.
Support mass action to print
The store admin can choose various barcodes to print quickly.
Support popups
Popups will be used when you print the barcode from the Product Grid or Product Edit form.
Allow printing sample files
The module supports printing a sample to view before implementing mass printing.
Allow previewing barcode labels
The extension allows you to preview barcode labels and print paper templates from the backend.
Backend
General configuration
Within the Admin Panel, navigate to Stores > Settings > Configuration > Mageplaza > Barcode.
- Enable: Choose Yes to enable the module
- Attribute for Barcode: Choose the coded attribute to scan the barcode. For instance: Attribute for Barcode = SKU, the extension will use the product SKU to encode into the barcode. As scanning the barcode, you’ll get the SKU of the product.
- Barcode number template: Sample format to create barcode codes. For instance: MPBC-[4AN]-[3A]-[5N] => The created barcode may be MPBC-J34T-OEC-54354.
- Auto-generate barcode: Click on Run to automatically create barcodes for items without barcodes. If you would like to generate a barcode for an item that has a barcode before, please click on Regenerate? Then Save Config before Run. To generate the barcode faster, you can use this command:
1php bin/magento mpbarcode: autogen
Barcode Design
- Barcode Type: Select the type of encryption code barcode. The extension currently supports 18 different encryption types.
Printing Paper
- Paper Template: Decide the template for available print paper, or the admin can customize the paper size.
- Paper Size: Choose the paper size to print barcode labels. The paper size will be set to the template available in the Paper Template section or edit it when you choose Custom in the Paper Template field.
- Barcode Label Width: Calculated in inches. The length setting of a barcode label will show up on the paper. The barcode label width can be self-recognized by template or editable.
- Barcode Label Height: Calculated in inches. The width setting of a barcode label will appear on the paper. The barcode label height can be self-recognized by template or editable.
- Barcode Label Paddling: Calculated in inches. Decide the distance between the barcode labels on a printed paper. The barcode label padding can be self-recognized by template or editable.
- Paper Margin: Calculated in millimeter. Determine alignment for the barcode paper when you print. The order of the upper, right, lower, and left margins is separated by commas.
- Vertical Spacing: Calculated in millimeter. Decide the distance between two barcode labels on one column (vertically).
- Horizontal Spacing: Calculated in millimeter. Decide the distance between two barcode labels on one row (horizontal).
- Paper Orientation: Select a layout method. There are 2 selections: Portrait (vertical) and Landscape (horizontal).
- Preview Paper Template: This button will help you see the paper preview that will be printed when the above settings are satisfied.
Label Content
- Logo: The admin can upload the logo/image you want to show on the barcode level.
- Barcode Label Template: Select the template shown for barcode labels. There are 4 types of templates:
Type 1: Classic 1
Type 2: Classic 2
Type 3: Standard
Type 4: Standard with QR code
- Load Template: After choosing one of the 4 types of templates, click on Load Template; the value of the settings fields for the paper will automatically be entered.
- Barcode Width: in inches. Decide the length of the barcode shown on a barcode label. The barcode width is self-recognized by template or editable.
- Barcode Height: in inches. Decide the width of the barcode shown on a barcode label. The barcode width is self-recognized by template or editable.
- QR Code Size: in inches. Decide the length/width of the barcode shown on a barcode label. This field is only shown when the selected template belongs to the Standard with QR code type. The QR Code Size is self-recognized by template or editable.
- Barcode Label Content: Create content for barcode labels. Support variables can be used to show content such as barcode and barcode content after scanning, product name, SKU, product price, QR code, logo, and some other attributes of the item. With the variable {{logo_url}}, you are required to use the <img> tag to show the selected logo image in the above field: <img src = “{{logo_url}}” alt = “logo”>. With the variable {{attribute_code}}, you are required to replace the attribute_code with the code of the attribute you would like to show. You can navigate to Store > Attributes > Product to get the value in the Attribute Code field.
- For instance: You want to show Activity and Color attributes, enter more:
Then your barcode label printed will include information about the Activity and Color of the item.
- Barcode Label CSS: Show settings (font, color, format) for content on barcode labels.
- Preview Barcode Label: This button will let you see the preview of the barcode label based on the settings above.
Print Sample File
- Print Sample: Click this button to print the barcode labels on one paper based on the above settings
- Notice: You must Save Config before clicking on Print to ensure the printout will accurately print the newest installation.
Print Barcode
- To print barcode, admins can use 2 ways:
- Print barcodes for each item by clicking on the Print Barcode button at their edit page
- Print for many items at the Product Grid page using Mass action Print Barcode Label.
After clicking on Print, the popup will show up for admins to install barcode printing.
- In Popup:
- At the Qty field, admins can decide the number of barcodes to print
- Admins also can reselect the barcode and paper configuration. Besides, they can choose Use Config Settings to utilize the preset information in the configuration.
- Moreover, admins can preview the barcode level and paper before printing by clicking on the Preview Print Paper Type.
Print Barcode with Import CSV
With 2 ways to print the barcode above, you can only print the same number of barcodes for each item simultaneously. Printing Barcode with Import CSV file supports printing many barcodes, each of which has different numbers.
Navigate to the Product Grid page, click on the Import Barcode button to show the popup Print Import Barcode Label.
- Here you need to import the CSV file with the SKU and the number of barcode labels you would like to print. Click on Check and Show to check the imported CSV file and show the list of items on which you want to print barcodes.
- The Grid shows the list of items to which you can add barcodes. You can edit the number of barcodes you want to print by ticking the checkbox in front of the product name and changing the number in the Quantity column.
- After checking items and the number of barcode labels you want to print, click on the Print button.
Conclusion
Barcode is an excellent track-and-trace solution to support store inventory management, professionalize the product packing, and satisfy customers. Hence, it is essential for you to think about using the Magento 2 Barcode extension by Mageplaza. All of its features promise to help you create a better customer experience and gain more trust from them.
HOT DISCOUNT: Use coupon code FIREBEAR to receive a 10% discount when purchasing.