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.

Cookies preferences

Others

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

Necessary

Necessary
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.

Advertisement

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.

Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

Functional

Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.

Performance

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.