Editing Email Templates

Editing Email Templates

Every email sent from Zahara (apart from the password reset email), has an HTML template that you can style to suit. These are found in Business Settings and the HTML Templates tab. 

By clicking into the templates above you can edit the wording and the layouts. They are all HTML so knowledge of HTML or CSS will help you style and tune these to suit. The fields that you can drop onto the templates are called Placeholders. These are fields wrapped in { } brackets. 

Adding Placeholders

Open your template by clicking into it.

You can see here the placeholders. You can edit any of this text. The Placeholders are found by Clicking Insert in the menu and then Insert Template. 

Find the placeholder you want – they are logically named – and then click Save. This will drop the placeholder onto the template. You can cut and paste them to move them around. 

Line items 

The line items template are managed separately in the yellow section. For now, we recommend you only use the Purchase Order Document Lines  template and Invoice Approval Lines, which are called {line_items} & {invoice_line_items} respectively.

There are two things to know here. The first is the code that places the line items into the email template. This should be as follows: (HTML)

<tr>
<td colspan=”100%”>{line_items}</td>
</tr> 

To access the HTML code, click View and then source code. So edit the HTML if you need to move the Line Items part of the template. Be careful using the WYSIWYG editor because you can inadvertently remove key parts of the HTML. 

The code above calls the Purchase Document Lines template (shown in yellow). If you click in and look at this template you will see it looks something like this: 

If you view the HTML you will see it is: 

You need to maintain the HTML which starts as a <tr> and ends with a </tr> (table row)

Each field needs to be wrapped in a <td></td> (table data)

You can style these to suite with code such as <td style=”text-align: right; margin-right: 10px;”>{net_amount}</td>

So in summary, you need to marry the header fields in the Email template with the individual fields in the line items template. The invoice line items placeholder can include the Nominal codes and other internal specific information whereas the Purchase Order Document Lines template is shared with the Purchase Order PDF so your supplier wont want to be burdened by your coding. 

    • Related Articles

    • Add an Email Signature

      You can add an email signature to the emails being sent from Zahara such as Approval emails. You can also add a logo to the email signatures; this will likely be an image stored on your own website. Edit the template Head into Business Settings and ...
    • Editing your purchase order template

      All templates are edited in Business Setting. The HTML templates tab will reveal all templates – Email, Document & Line Items, Purchase Order Document Template You have two templates that make up the Purchase Order that is sent to the supplier. The ...
    • How to create email forwarding into zahara office 365

      When using the Zahara Invoice Inbox, you have the choice of telling your suppliers to send invoices directly into Zahara or you can set up forwarding of invoices from your existing email account(s) into Zahara. This article assumes you use Microsoft ...
    • Sample Supplier email for youru New AP Automation System

      If you are about to deploy Zahara and would like to notify all of your suppliers about your new process, below is a sample of an email you might want to send. You can send this email in Zahara’s supplier’s module. Just head to Suppliers. From here, ...
    • Editing an order

      You can edit an order by clicking the Document Actions menu and then ‘Edit’. Edit permissions Users need the correct permission set to be able to edit an order. An Originator can edit their own orders, provided they have the “update” purchase order ...