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

Step 1 — Get your receipt file
- Download the ready-made 58 mm sample receipt (right-click → Save as and keep the .html ending), then change the text and colours. It already uses the correct field names.
- Or give the field list below to your designer. Their file must use these names — any other name prints blank.
- This page is for the thermal receipt. For a full A4 invoice use Invoice Designer and the Settings → Invoice tab instead; its fields are a little different.
Step 2 — Create a theme
- Open Settings and tap Advanced at the top right.
- Click Thermal Receipt Design in the list on the left.
- Click + Create New Theme, type a name such as My Bakery Receipt, keep Start with blank theme and click Create Theme.


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


Step 4 — Import the file
- Inside the section click Import an HTML file and choose your .html file.
- Look at the Live Preview on the right. Your receipt appears with sample bill details (sample items, a sample customer and totals).
- If something is missing, open Placeholders you can use in the same section and compare the names with your file.
- Click Save Theme.



Step 5 — Use it for printing
- 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.
- Make one real bill and print it. Check the shop details, the items and the totals on the paper.
- To go back to another design later, click Set Default on that theme.

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}}}.
| Field | What 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:
| Field | What 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.
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
- Colours, fonts and layout are free. Put your styles in a
<style>block or inline. - Do not fix the page width in millimetres. BazaarPOS fits the receipt to the paper width of your printer.
- Logos and fonts must be saved inside the file. Pictures or fonts loaded from the internet are left out.
- Scripts, forms, buttons and links are removed. The file can be about 800 KB at most.
- Whatever is typed in a bill (for example a customer name) always prints as plain text, never as code.
Troubleshooting
It says "This is not a receipt design file".
The shop name, shop phone or customer name print blank.
- Check the names. Use
{{shop_name}},{{shop_phone}},{{customer_name}}and{{customer_phone}}. Names likecompany_nameorcompany_phoneprint 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.
{{#items}} … {{/items}} and use the item names ({{name}}, {{qty}}, {{price}}, {{amount}}), not item_name or item_qty.