Good afternoon, everyone
We have a invoice.php which is all standard just like this one here:
https://github.com/pepe1518/magento2/blob/master/vendor/magento/module-sales/Model/Order/Pdf/Invoice.php
I want to add our address, VAT number and Company Reg onto it but I am not sure where it goes.
I think I need to add something like this in somewhere:
echo "<p align='right'>ADDRESS</p>";
echo "<p align='right'>ADDRESS</p>";
echo "<p align='right'>ADDRESS</p>";
echo "<p align='right'>ADDRESS</p>";
echo "<p align='right'>ADDRESS</p>";
echo "<p align='right'>V.A.T Registration No:</p>";
echo "<p align='right'>Company Registration No:</p>";
Would somebody please be able to tell us where this should go in invoice.php?
We have filled in the Invoice and Packing Slip Design section on Magento 2 with our details and this shows up if you download the PDF, but does not get included if you click Send Email to send it automatically to the customer.
Thanks for your help