Search this Topic
How do I create my custom template? In order to make your custom template, please copy the default template files (including folder) you’ll find in: plugins/woocommerce-pdf-invoices/includes/templates/invoice/simple to uploads/woocommerce-pdf-invoices/templates/invoice/simple&...
Read more How to change the invoice information meta? In order to change the invoice information meta from the PDF invoice template, simply use below filter function as an example and add it to your themes functions.php file. /**
* Change PDF invoice information meta.
*
* @param array $...
Read more Finding WooCommerce custom fields If you’re using plugin that captures extra data in your WooCommerce Order, chances are you’d like to use this in another area of your site too, for example to display it in our WooCommerce PDF Invoices plugin. It’s not always obvious where these custom fields ar...
Read more How to add zero rated Tax/VAT for intra-community goods? In order to add zero rated Tax/VAT for intra-community goods to your complete website use below filters. It will show the Tax/VAT on the cart and will permanently add it to the order and thus on the invoice. /**
* Add zero rated tax wh...
Read more How to change the template based on user roles? In order to change the template based on specific user roles have a look at below filter code example. /**
* Change template name based on user role.
* Make sure to create custom templates with the correct names or the templates won't be found...
Read more How to add the product image to the template? Use below filter function to add the product thumbnail image below the product description on the template. Add the code to your functions.php file within your theme. function add_product_image( $description, $item_id, $item ) {
$product = $item-...
Read more How to display the parent product SKU below the product description? If you are using product variations and you would only like to show the parent product SKU instead of the variation SKU's, make sure to disable the setting "Show SKU as meta data" and add below filter to your themes functions.p...
Read more How to change the font of the template? Follow below steps to use a different .ttl font in WooCommerce PDF Invoices Premium: Add attached fonts to wp-content/uploads/woocommerce-pdf-invoices/fonts folder. Make sure to rename the file to below formats. R = Regular (OpenSans-R.ttf)B = Bold (...
Read more How to add invoice information meta? In order to add invoice information meta to the PDF invoice template, simply use below filter function as an example and add it to your themes functions.php file. /**
* Add PDF invoice information meta.
*
* @param array $info Invoice inf...
Read more How to add Zero Rated VAT Exemption to the invoice? In order to display the VAT Exemption we can recommend to use WooCommerce EU VAT Number which is fully compatible with ours. The invoice will automatically show the VAT Exemption message.
Read more