Magento 2 Barcode Generator

7
Barcode Generator for Magento 2 ©Meetanshi Barcode Generator for Magento 2 User Guide Table of Content 1. Extension Installation Guide 2. Configuration 3. Barcode Settings 4. Barcode Assigned to the Product 5. Print Barcodes for the Products 6. All Barcode Types

description

Magento 2 Barcode Generator by Meetanshi is the perfect tool to generate barcode labels and print them in pdf for the store products.

Transcript of Magento 2 Barcode Generator

Page 1: Magento 2 Barcode Generator

Barcode Generator for Magento 2 ©Meetanshi

Barcode Generator for Magento 2

User Guide

Table of Content

1. Extension Installation Guide

2. Configuration

3. Barcode Settings

4. Barcode Assigned to the Product

5. Print Barcodes for the Products

6. All Barcode Types

Page 2: Magento 2 Barcode Generator

Barcode Generator for Magento 2 ©Meetanshi

1. Extension Installation • For Magento Marketplace Customers

o Create a folder structure in Magento root as app/code/Meetanshi/Barcode o If you are using Magento version 2.3.0 or lesser, install Zend framework barcode

library using below command.

▪ composer require zendframework/zend-barcode

o Download and extract the zip folder and upload our extension files to the app/code/Meetanshi/Barcode via FTP.

o Login to your SSH and run below commands step by step: ▪ php bin/magento setup:upgrade ▪ For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy ▪ For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f ▪ php bin/magento cache:flush

• For Meetanshi Customers

o Extract the zip folder and upload our extension to the root of your Magento 2 directory via

FTP.

o If you are using Magento version 2.3.0 or lesser, install Zend framework barcode

library using below command.

▪ composer require zendframework/zend-barcode

o Login to your SSH and run below commands step by step:

▪ php bin/magento setup:upgrade

▪ For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy

▪ For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f

▪ php bin/magento cache:flush

2. Configuration To configure the extension, login to Magento 2 backend, move to Stores → Configuration →

Barcode Generator where you can find various settings to configure the extension.

• Barcode Generator: Enable the extension from here.

Page 3: Magento 2 Barcode Generator

Barcode Generator for Magento 2 ©Meetanshi

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.

Page 4: Magento 2 Barcode Generator

Barcode Generator for Magento 2 ©Meetanshi

Page 5: Magento 2 Barcode Generator

Barcode Generator for Magento 2 ©Meetanshi

4. 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 > 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”.

Page 6: Magento 2 Barcode Generator

Barcode Generator for Magento 2 ©Meetanshi

• Barcode Print

Immediately after you add the number of print copies and click ok, the PDF barcode is

generated for the products.

Page 7: Magento 2 Barcode Generator

Barcode Generator for Magento 2 ©Meetanshi

6. 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.