Shipping phone in invoice
-
Hi Ewout,
First of all thank you for the great plugin!
I wanted to add both billing and shipping address to my invoices, so I followed your tips in other support threads and I succeeded to include the shipping address in the invoice template, using this:
<?php $wpo_wcpdf->shipping_address(); ?>
For me and my customers is also important to add additional field “Shipping Phone”, so If anyone select “Ship to different address” they will have the option to include phone there. I followed this tutorial – Lesson 2 – Adding custom shipping and billing fields and I was able to add that field, but when I include this in the invoice template
<?php $wpo_wcpdf->shipping_phone(); ?>
I got the following error
Fatal error: Call to undefined method WooCommerce_PDF_Invoices::shipping_phone() in /public_html/wp-content/themes/nutri/woocommerce/pdf/Nutri/invoice.php on line 53
How do I add this Shipping phone to the invoce?
Thanks!
https://www.ads-software.com/plugins/woocommerce-pdf-invoices-packing-slips/
- The topic ‘Shipping phone in invoice’ is closed to new replies.