Title: Magento 2 Barcode Generator
1Barcode Generator for Magento 2 User Guide
- Table of Content
- Extension Installation Guide
- Configuration
- Barcode Settings
- Barcode Assigned to the Product
- Print Barcodes for the Products
- All Barcode Types
2- Extension Installation
- For Magento Marketplace Customers
- Create a folder structure in Magento root as
app/code/Meetanshi/Barcode - If you are using Magento version 2.3.0 or lesser,
install Zend framework barcode - library using below command.
- composer require zendframework/zend-barcode
- Download and extract the zip folder and upload
our extension files to the app/code/Meetanshi/Barc
ode via FTP. - Login to your SSH and run below commands step by
step - php bin/magento setupupgrade
- For Magento version 2.0.x to 2.1.x - php
bin/magento setupstatic-contentdeploy - For Magento version 2.2.x above - php
bin/magento setupstatic-contentdeploy f - php bin/magento cacheflush
- For Meetanshi Customers
- Extract the zip folder and upload our extension
to the root of your Magento 2 directory via FTP. - If you are using Magento version 2.3.0 or lesser,
install Zend framework barcode library using
below command. - composer require zendframework/zend-barcode
- Login to your SSH and run below commands step by
step - php bin/magento setupupgrade
- For Magento version 2.0.x to 2.1.x - php
bin/magento setupstatic-contentdeploy
3- Barcode Settings
- Configure the barcode type and print page related
settings here. - Select Barcode Type Select one of the 17 barcode
types as per your requirement. - Barcode Prefix Set the barcode prefix that will
be added prior to the code generated, based on
selected barcode type. - Product Attribute for Barcode The extension
auto-creates and assigns barcode attribute to
the products while extension installation. If you
want to use a different attribute, select it from
the drop-down. - Page Print Width Select the width of the print
page for the barcode. - Page Print Height Select the height of the print
page for the barcode. - Assign Barcode After selecting the above
options, click here to assign the barcodes to the
products. - Display Brand Logo Set YES to display the brand
logo in the print page along with the barcode. - Logo Image Upload the brand logo image.
- Logo Vertical Coordinates Set the vertical
coordinates for the brand logo display on the
print page. - Logo Horizontal Coordinates Set the horizontal
coordinates for the brand logo display on the
print page. - Description Attribute Set various attributes and
their coordinates to display and print in the
barcode print page. - Barcode Preview Click to see the preview of
barcode print page. - Note Every time you make changes to
configuration settings, after saving the - configuration, you must click Assign Barcodes
to allow extension reflect changes - and assign barcodes to products.
4(No Transcript)
54. Barcode Assigned to the Product Immediately
after the barcodes are assigned from the
configuration, you can see the barcode assigned
to the products. Go to Catalog ? Products ? Edit
a Product ? Barcode Generator to see the assigned
barcode value to the product.
5. Print Barcodes for the Products Once the
barcodes are assigned to the products from the
configuration and extension configuration is
saved, you can print barcodes for the products.
Go to Catalog gt Products, click the Print
Barcode action for the product of which you want
to print the barcodes. Add the number of barcode
copies you want to print and click OK.
6- Barcode Print
- Immediately after you add the number of print
copies and click ok, the PDF barcode is generated
for the products.
76. All Barcode Types The extension supports 17
barcode types listed here. Have a look at the
printed format of how each one of the barcode
types.