1. Home
  2. PDF Invoice Generator
  3. Setup
  4. Sample Template HTML

Sample Template HTML

Sample templates are included in the Extension itself. This section is just for additional reference.

Sample HTML Template

Switch to source code mode by clicking the Source button and save the below HTML

<p><strong style="font-size: 11px;">{store_name}</strong><br />
<span style="font-size: 11px;">{store_address}<br />
<strong>Telephone:</strong>&nbsp;{store_telephone}<br />
<strong>Email:</strong>&nbsp;{store_email}<br />
<strong>Website:</strong>&nbsp;{store_url}</span></p>

<p><strong>Total Amount : {total}</strong></p>

<table border="0" cellpadding="1" cellspacing="1" width="100%">
<thead>
<tr>
<th scope="col"><strong><span style="font-size: 11px;">Order ID : {order_id}</span></strong></th>
<th scope="col"><strong><span style="font-size: 11px;">Billing Address</span></strong></th>
<th scope="col"><strong><span style="font-size: 11px;">Shipping Address</span></strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>
<p><span style="font-size: 10px;"><strong>Invoice Number:</strong>&nbsp;{invoice_no}</span><br />
<span style="font-size: 10px;"><strong>Purchase Date:</strong>&nbsp;{date_added}</span><br />
<span style="font-size: 10px;"><strong>Payment Method:</strong>&nbsp;{payment_method}</span><br />
<span style="font-size: 10px;"><strong>Shipping Method:</strong>&nbsp;{shipping_method}</span></p>
</td>
<td><span style="font-size: 11px;">{payment_address}</span></td>
<td><span style="font-size: 11px;">{shipping_address}</span></td>
</tr>
</tbody>
</table>

<p>{cart_items}</p>

<p style="text-align: center;"><span style="font-size: 9px;">This is a computer generated invoice. No signature required.&nbsp;</span></p>
Was this article helpful to you? Yes No

How can we help?