Documentation

How to add custom fields for generated invoice pdf?

Table of Contents

This is a guide for advanced users.

Custom invoice template#

If you want to add more information on invoices or some custom code/ fields:

  • first you need to create a copy of the custom invoice template
  • then you may add any additional data or information. You can show for example order's Custom Fields in PHP:


<?php if($client->get_phone()) { ?>
<tr>
<td><p>Tel: <?php echo $client->get_phone(); ?></p></td>
</tr>
<?php } ?>

Not the solution you are looking for?

Please check other articles or open a support ticket.