Home / Help Center / pos-app / Admin / Your Own Receipt Design (HTML)
🧾 Settings

Your Own Receipt Design (HTML)

Make your thermal printer receipt look exactly the way you want. Design it in any HTML editor (or ask your designer), then import the file into BazaarPOS and use it for every bill.

📍 Menu path: Settings → Thermal Receipt Design (switch Settings to Advanced)
👤 Who can do it: Admin or Manager
🖨️ Prints on: 58 mm and 80 mm thermal printers

Before you start — two different import buttons

The Thermal Receipt Design screen has an Import a design file button. That button is not for HTML. It only accepts design files that were exported from BazaarPOS itself (they end in .json). If you choose an HTML file there you will see the red message "This is not a receipt design file".

The red message when an HTML file is chosen with
The red message when an HTML file is chosen with "Import a design file"
❌ Do not use Import a design file for an HTML receipt. Follow the steps below instead: the HTML import button is inside a theme.

Step 1 — Get your receipt file

Step 2 — Create a theme

  1. Open Settings and tap Advanced at the top right.
  2. Click Thermal Receipt Design in the list on the left.
  3. Click + Create New Theme, type a name such as My Bakery Receipt, keep Start with blank theme and click Create Theme.
Settings, Advanced, Thermal Receipt Design: click + Create New Theme
Settings, Advanced, Thermal Receipt Design: click + Create New Theme
Give the theme a name and click Create Theme
Give the theme a name and click Create Theme

Step 3 — Add your own HTML receipt

  1. On your new theme card click Edit. A window opens with the sections of the receipt.
  2. Click Add my own HTML receipt. A new section appears and the standard sections are switched off, so only your receipt prints.
  3. Click the small arrow ▶ next to the new section to open it.
Click Edit on the theme: the sections of the receipt
Click Edit on the theme: the sections of the receipt
Click
Click "Add my own HTML receipt"

Step 4 — Import the file

  1. Inside the section click Import an HTML file and choose your .html file.
  2. Look at the Live Preview on the right. Your receipt appears with sample bill details (sample items, a sample customer and totals).
  3. If something is missing, open Placeholders you can use in the same section and compare the names with your file.
  4. Click Save Theme.
The new section: Import an HTML file, Export HTML, Start from the sample
The new section: Import an HTML file, Export HTML, Start from the sample
After importing: your receipt shows in the Live Preview. Click Save Theme
After importing: your receipt shows in the Live Preview. Click Save Theme
Placeholders you can use: the list of names
Placeholders you can use: the list of names

Step 5 — Use it for printing

  1. Back on the theme list, click Set Default on your theme. The default theme is the one used for New Sale — thermal print after payment.
  2. Make one real bill and print it. Check the shop details, the items and the totals on the paper.
  3. To go back to another design later, click Set Default on that theme.
The theme is now the Default and is used for printing
The theme is now the Default and is used for printing

The names you can use

Write a name inside double curly brackets where the value should appear, for example {{shop_name}}. For the QR code and barcode use three brackets: {{{qr}}} and {{{barcode}}}.

FieldWhat it prints
{{shop_name}}Your shop name
{{shop_address}}Shop address
{{shop_phone}}Shop phone number
{{gstin}}Your GSTIN
{{invoice_number}}Bill number
{{date}}Bill date
{{time}}Bill time
{{cashier}}Name of the person who made the bill
{{customer_name}}Customer name (only if a customer was chosen on the bill)
{{customer_phone}}Customer phone (only if a customer was chosen)
{{item_count}}Total quantity of items
{{subtotal}}Amount before discount and tax
{{discount}}Discount (empty when there is none)
{{tax}}Total tax (empty when there is none)
{{total}}Grand total
{{amount_paid}}Amount paid
{{balance_due}}Amount still to pay (empty when fully paid)
{{{qr}}} {{{barcode}}}A scannable QR code and a barcode of the bill number

Item rows. Put one table row between {{#items}} and {{/items}}. It repeats for every item on the bill. Inside it use:

FieldWhat it prints
{{name}}Item name
{{qty}}Quantity
{{price}}Price per unit
{{mrp}}MRP
{{discount}}Item discount
{{hsn}}HSN code
{{amount}}Line amount

Show a line only when it has a value. Wrap it like this: {{#if discount}} … {{/if}}. A "Discount" line then appears only on bills that have a discount.

💡 These names are different from the ones in some other software, such as company_name, bill_no or grand_total. Those do not work here and print blank. Use shop_name, invoice_number and total.

Not available on the thermal receipt: shop email, payment method, notes, customer address, and the separate CGST / SGST / IGST lines. Use {{tax}} for the total tax.

Rules for the file

Troubleshooting

It says "This is not a receipt design file".
You used Import a design file. That button is only for files exported from BazaarPOS. Open a theme with Edit, click Add my own HTML receipt, and use Import an HTML file inside it (Steps 3 and 4).
The shop name, shop phone or customer name print blank.
  • Check the names. Use {{shop_name}}, {{shop_phone}}, {{customer_name}} and {{customer_phone}}. Names like company_name or company_phone print blank.
  • Shop name, phone and address come from Settings → Shop Details. If they are empty there, they print empty. Fill them in and save.
  • Customer name and phone print only when a customer was chosen on the bill. A walk-in bill without a customer prints them blank.
  • The Live Preview shows sample details, so the shop phone may look empty there. Print a real bill to check.
Only one item prints, or items are blank.
The item row must be wrapped in {{#items}} … {{/items}} and use the item names ({{name}}, {{qty}}, {{price}}, {{amount}}), not item_name or item_qty.
The red message "Some parts of this HTML are not allowed" appears.
Something in the file is left out when printing: a script, a link, a form, or a picture or font loaded from the internet. Save the picture or font inside the file instead, or click Download linked fonts and pictures.
I imported it but the printer still prints the old receipt.
Click Save Theme, then Set Default on that theme (Step 5). Only the default theme prints.