How awesome is the free plugin Woocommerce PDF Invoices and Packing Slips?
It’s free and it’s functionality even outshines the plugin that WooThemes sell. Kudos to Ewout Fernhout for his amazing plugin.
With that being said, If you’re in Australia or you’re legally required to call your invoice something else, like “Tax Invoice” – there’s no setting in the plugin to do this, so an easy way to future proof your invoice so they say “Tax Invoice” and ensure it isn’t changed when you upgrade the plugin, just add the below code to your functions.php and voila!
add_filter( 'wpo_wcpdf_invoice_title', 'wpo_wcpdf_invoice_title' ); function wpo_wcpdf_invoice_title() { return "Tax Invoice"; }
I have done this to our website however when I generate a customer invoice nothing still appears. I have modified the functions.php in the editor but I am not a PHP coder so I copied your code exactly as it appears. invoice still does not have anything on it when I generate it. Any ideas?
Hi Bob, are you definitely using this plugin? https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/.. if so, you will need to regenerate the PDF to see it..
Thanks for the code, works great!
Thanks! Worked a charm
Does it have a space for ABN?
Sorry, bit of a noob, but when you talk about the functions.php are you talking in theme, the plug in directory? COuld you please assist with the pathway?
Which functions.php?