Elbuz prints a product label or price tag from your template: the name, SKU, price, EAN-13 barcode and QR code come from the product card, as a PDF or DOCX. The price is always the current catalog price.
When you need this:
- You need a barcode sticker for a product or shelf — the template draws EAN-13 from the card’s “EAN” field.
- A price tag needs a QR code — to the product page, a manual or warranty.
- Prices have changed — reprint the price tag to get the new price.
Where to start: create a label template from the ready-made example and print it from the product card.
What label printing can do
- Your own template — you set the size, font and what gets printed, as HTML text.
- EAN-13 barcode — the
{Barcode}placeholder draws a barcode from the product’s “EAN” field. - QR code — the
{QRCode}placeholder encodes a link or text from the “QRCode” field, or the product name. - Labels for hundreds of products — one PDF for all checked products, with several copies of each.
- PDF or DOCX — the file opens in a new tab, and you print it from there on a regular or label printer.
How to create a label template
- Open any product, click the arrow next to “Print” and choose “Select print template”.
- In the window, click “Add”. In the new row, enter a “Title”, for example “EAN-13 label”, and set “Format” to
pdfordocx. - An editor with language tabs opens below the list. Paste the template text (see the example below) on the tab of each language you print in, and click “Save”.
A template is an HTML page with placeholders for product data. A product field goes in double curly braces with the p. prefix: {{ p.name }} — name, {{ p.sku }} — SKU, {{ p.price }} — price, {{ p.ean }} — EAN digits.
Your company details use the cn. prefix, for example {{ cn.name }}. The “Macro substitution” button in the editor inserts a field for you, so you don’t have to type it.
Ready-made template: 58 × 40 mm EAN-13 label
Copy this text into the template editor as is. It prints the name, SKU, price, barcode and the code digits under it:
<style>
.label { width: 58mm; height: 40mm; border: 0.3mm dashed #999; padding: 2mm; font-family: "DejaVu Sans"; font-size: 7pt; }
.label .name { font-weight: bold; height: 9mm; overflow: hidden; }
.label .price { font-size: 15pt; font-weight: bold; margin: 1mm 0; }
.label .barcode img { width: 50mm; height: 13mm; }
.label .ean { letter-spacing: 1mm; text-align: center; width: 50mm; }
</style>
<div class="label">
<div class="name">{{ p.name }}</div>
<div>SKU {{ p.sku }}</div>
<div class="price">{{ p.price|number_format(2, '.', ' ') }} UAH</div>
<div class="barcode">{Barcode}</div>
<div class="ean">{{ p.ean }}</div>
</div>
What to adjust for your needs:
- Label size —
widthandheightin the.labelclass, in millimeters. For 40 × 30 mm stickers, set 40mm and 30mm and reduce the font size. - Barcode size —
.label .barcode img. Keep the barcode at least 30 mm wide, or scanners will struggle to read it. - Border — the dashed
borderis a guide for cutting labels from a sheet. Remove it for a roll printer.
1
Catalog price at the time of printing2
{Barcode} — EAN-13 from the product’s “EAN” field3
{{ p.ean }} — code digits for manual entry- The price is taken from the product card when you print.
- The barcode is drawn by the {Barcode} placeholder from the “EAN” field.
- The digits under the barcode are the EAN field as text.
How to add a QR code
Put the {QRCode} placeholder in the template where the code should go. What it encodes depends on the “QRCode” field in the product card, section “Barcodes, product ID”:
- the field is empty — the QR code contains the product name;
- the field holds a link — the QR code leads to it, for example the product page or a manual;
- you can insert a product field in square brackets:
https://shop.ua/search?q=[sku]becomes a link with this product’s SKU.
Set the QR code size with an image style, just like the barcode: .label .qr img { width: 18mm; height: 18mm; } and <div class="qr">{QRCode}</div>.
For a QR code that isn’t for a product — to your store website, Wi-Fi or a contact for a shop window or business card — use the free QR code generator; you don’t need a label for it.
How to print a product label
In the product card, click the arrow next to “Print” and choose your template. The app builds the file and opens it in a new browser tab, where you can print or save it.
1
EAN-13 label2
Select print template3
Print4
Arrow- EAN-13 label — the ready label template for the product.
- Select print template — opens the full list of print templates.
- Print — prints the card with the template chosen last.
- Arrow — opens the menu of print templates.
- The “Print” button itself prints with this product’s default template. If none is selected, it uses the “Standard card”: a page with a photo, price and specifications, not a label.
- To make the button print this product’s label straight away, select the template in the “Select print template” window and click “Select”.
- The PDF comes out on an A4 sheet, with the label in the top left corner. On a label printer, set your sticker’s paper size in the print dialog.
How to print labels for many products
- In the “Products” list, check the products you need. To take the whole filtered set, click “Select all” first.
- Open the row menu and choose “Print labels (N)”, where N is the number of checked products. With nothing checked, the item prints the product in the row under the cursor.
- In the “Print labels and price tags” window, choose a “Print template”, enter 1 to 20 in “Copies per product” and click “Print”.
1
Template2
Copies per product3
Limit hint4
Print- Print template — choose EAN-13 label.
- Copies per product — here 3.
- Limit hint — up to 500 products and 2000 labels at once.
- Print — builds one PDF with all labels (not pressed).
What you get: one PDF where the template repeats for each product as many times as the copies you set. Labels run one after another on an A4 sheet: the 58 × 40 mm template from the example fits three per row. Each label has its own barcode and QR code.
What won’t happen: one run prints up to 500 products and up to 2000 labels (products × copies). Above that, the app shows a message with the numbers, and you need to split the filtered set into parts. The format is always PDF, even if the template is set to docx.
Scenarios
Barcode stickers for new products that have no EAN
What to do: first fill in “EAN” with a formula that uses the barcode generator — EAN-13 recipe, then print the label from each product’s card.
What you get: each product gets a valid EAN-13 with a check digit, and the same code is printed on the sticker.
What won’t happen: this code is your internal one, not registered with GS1. To sell through retail chains that require GS1, get codes from the association.
Shelf price tag with the current price
What to do: make a copy of the example with a larger price font and no border, and name it “Price tag”.
What you get: the price tag always shows the catalog price at the moment of printing — after repricing, print the price tag again.
What won’t happen: the price tag won’t update itself when the catalog price changes.
What to do when the label looks wrong
| What you see | Why | What to do |
|---|---|---|
| The barcode area is blank | the product’s “EAN” field is empty | fill in the EAN in the card or with a formula (EAN-13 recipe) |
| Instead of a label, you get a page with a photo and specifications | it was printed with the “Standard card” | choose your template in the menu next to “Print” |
| The new template isn’t in the menu | the menu is built when the card opens, or the template wasn’t created for products | close and reopen the product card; in the templates window, “Item code” must be product |
The file shows {{ p.name }} instead of the name | a typo in the field name or braces | check the field name or insert it with the “Macro substitution” button |
| The scanner can’t read the barcode | the barcode is too narrow or stretched | make the barcode image wider without changing its proportions |
FAQ
Can I print labels for many products at once?
Yes: in the “Products” list, check the products, open the row menu and choose “Print labels”. All labels come out as one PDF, up to 500 products and 2000 labels per run. More: labels for many products.
Which printer should I use?
Any printer that prints PDF: a regular one on an A4 sticker sheet, or a label printer. For a label printer, set the sticker size in the print dialog.
Which barcodes can the template draw?
The {Barcode} placeholder draws EAN-13 from the product’s “EAN” field, and {QRCode} draws a QR code. The template doesn’t draw other formats, such as Code 128.
Can I edit a label before printing?
Yes: set the template format to docx — the file opens in Word or LibreOffice, and you can edit the text before printing. In pdf format, the file is ready to print as is.
Which price goes on the label?
The price from the product card in the catalog at the moment of printing. After a price change, print the label or price tag again.
Where to find it and who has access
- Printing
- product card → the “Print” button at the bottom; the arrow next to it opens the “Print template” menu
- Templates
- the same menu → “Select print template”: the template list with the editor below it
- Access right
- the product card window
- Prepare
- a filled-in “EAN” field for products that need a barcode
Related topics
- If your products don’t have barcodes yet — how to generate EAN-13 with a formula.
- If you need to print invoices and delivery notes — document print templates.
- If you need to find duplicates by barcode — finding duplicate products.
