sroulik Posted October 20, 2010 Share Posted October 20, 2010 Hello, I m looking to a solution to add email adress of the customer on the delivery slip and also the number of order he made.Is anyone can help me ?thanks Link to comment Share on other sites More sharing options...
shokinro Posted October 20, 2010 Share Posted October 20, 2010 I think you have to modify ./classes/PDF.php as followingright after following code if (!empty($delivery_address->phone_mobile)) { $pdf->Ln(5); $pdf->Cell($width, 10, $delivery_address->phone_mobile, 0, 'L'); } Add following code $pdf->Ln(5); $pdf->Cell($width, 10, $invoice_customer->email, 0, 'L'); $pdf->Ln(5); $pdf->Cell($width, 10, self::l('ORDER #:') .sprintf('d', $order->id), 0, 'L'); Please note: 1. I have tested this on ver 1.3.1 (not sure for other versions)2. This change will also affect invoiceHope this help Link to comment Share on other sites More sharing options...
shokinro Posted October 22, 2010 Share Posted October 22, 2010 If your problem is solved, please mark this thread as SOLVED.Please feed back if further help is required. Link to comment Share on other sites More sharing options...
Hsell Posted July 6, 2012 Share Posted July 6, 2012 Howdy, Could anyone pls help me to make an update to this post? I can not find the below code in my PDF.php, to add the new lines of code. I'm using 1.4.4.0. I would like to add the customers e-mail and potentially their mobile phone number below the delivery and/or invoice address "boxes". Thanks Link to comment Share on other sites More sharing options...
Recommended Posts