How to add custom fields for generated invoice pdf?

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 }?>
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us