Editing your purchase order template

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 first template is the one you can see very easily that can either be edited in line with the WYSIWYG editor or at source by editing the HTML. 

Because this is an HTML file, you can change this to anything you want. You will need to edit the HTML (View > Source Code). 

Template Chooser

You will notice a Template chooser on the right-hand side. If you don’t like the Template we start you off with, see if there is another template you like the look of. 
 
 

 

Placeholders

All of the fields you may wish to drop onto the template are called placeholders and can be found by clicking Insert and then Insert Template. All placeholders have { } around them. Please don’t guess them! Choose from the list of available fields. 

 

Line items 

The line items of the Purchase Order have their own template. This is found in the yellow section: 
Choose the Purchase Order Document Lines option

Once you click into this, you will see the WYSIWYG version which looks like this: 

Here’s the but. You need to edit the HTML. To change the fields in the template, click View > Source Code and get to the code. This looks like this: 

You just need to remember that the row (Table Row) starts with <tr> and will end with </tr>. You then need to wrap each of the placeholders with a <td></td> so <td>{net_value}</td>

The you might want to style the elements so <td style=”text-align: right;”>{net_value}</td>

The important thing here is you need to marry the header rows of your template with the line items template:

is married with the line items: 

You will notice the {line_items} place holder in the document template. This needs to have it’s HTML maintained so is actually: 

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

If you get stuck and inadvertently delete your line items, go into the HTML and paste this code in after the header row. 

 

Testing your changes

Although you can run a preview of your changes, it is best to create a Purchase Order that’s not in a workflow. You can then download the Purchase Order so you can see the actual PDF that is produced. 

Adding T&C to your PDF

We recommend you place a link to your terms and conditions on your Purchase Order. Create a T&C PDF and place it on your website in say a /download folder. Then just add a hyperlink to it such as 

  • This Purchase Order is made in accordance with our standard terms and conditions – available here  

It is possible to create a page break and add your terms. Here is a help article to do this: 

    • Related Articles

    • Purchase Order Pdf

      Once an order has completed it’s workflow, you can download or view the purchase order PDF. Click through to view the order and then click the ‘Document Actions’ menu. From here you will see the download icon as shown below. Editing the Template The ...
    • Supplier order acceptance

      Introduction We have two ways for a supplier to accept an order. The first is more sophisticated. It requires the supplier to digitally sign your terms and conditions before receiving the order. The second is very easy, you can add Accept/Reject ...
    • Add your Terms & Conditions to your PO template

      We often get asked how you can display your terms and conditions on the Purchase Order template. Our advice is to keep it simple and add a hyperlink to a standard page or PDF on your website as shown below. Editing your PO Template If you absolutely ...
    • 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 ...
    • Creating a purchase order

      If you haven’t used purchase orders before, we have a useful article on “what is a purchase order” which has some background information. This article explains how to create a purchase order in Zahara. Creating an order You can create a purchase ...