Templates
WCPOS includes a template system for customising receipts, with a gallery of starter templates and an in-app editor. Templates are managed in WP Admin > POS > Templates.
Template Engines
WCPOS supports three template engines. The engine is chosen when you create or install a template and cannot be changed afterward.
HTML (Offline)
Logicless Mustache-style templates using {{variable}} placeholders. Renders client-side — works offline. Recommended for most users.
XML (Thermal Printer)
XML-based templates that produce both a screen preview and ESC/POS commands for thermal receipt printers. Choose this if you have an Epson or Star receipt printer.
PHP (Legacy)
Server-side PHP templates using WooCommerce functions. Kept for backward compatibility with existing theme overrides. Requires a server connection to render.
Template Gallery
The template gallery at WP Admin > POS > Templates provides ready-to-use starter templates you can install and customise:
| Template | Engine | Description |
|---|---|---|
| Standard Receipt | HTML | Default receipt layout |
| Detailed Receipt | HTML | Extended layout with more line item detail |
| Branded Receipt | HTML | A4-friendly layout with store logo and branding |
| Gift Receipt | HTML | Prices hidden, suitable for gift purchases |
| Invoice | HTML | Invoice format for business customers |
| Tax Invoice | HTML | Invoice with fiscal fields for tax compliance |
| Thermal Simple (58mm) | XML | Clean layout for 58mm thermal printers |
| Thermal Simple (80mm) | XML | Clean layout for 80mm thermal printers |
| Thermal Detailed (80mm) | XML | Extended thermal with tax breakdown and barcodes |
| Kitchen Ticket | XML | Items only, large font, no pricing — for kitchen prep |
Browse by category (receipt, invoice, gift receipt, credit note, kitchen ticket) and format (HTML browser print / ESC/POS thermal).
How It Works
- Install a template from the gallery or create your own
- Customise it using the in-app editor with live preview
- Set it as active — the first template in your list is the default
- Print or display — receipts render after checkout, with options to print, email, or view on screen
Templates use a standardised receipt data payload with sections for store info, line items, totals, tax, payments, and more. All currency fields include pre-formatted _display variants for easy use in templates.
Pro Features
With WCPOS Pro, you can assign specific templates to individual stores. Each store can have its own receipt branding (logo, address, contact details) and its own template selection and ordering.