Modify PDF invoice

24.02.2012 10:23
#1
paulkemp39
Joomshopping forum user no avatar
Name: paul kemp
16.07.2011
Posts: 15
Quote
Modify PDF invoice

Hi folks,

I need to add a line into the PDF invoice to show shipping method and not just the price. I have managed to and the delivery address if different from the buyers address but I can not find how to show the shipping info.
Please see attached pic.
Modify PDF invoice


Joomla: 2.5
JoomShopping: 3.2.7
Website Url: www.showthecrow.com
 
24.02.2012 11:06
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16480
Quote
Aw: Modify PDF invoice

change file
components/com_jshopping/lib/generate_pdf_order.php

 
24.02.2012 11:44
#3
paulkemp39
Joomshopping forum user no avatar
Name: paul kemp
16.07.2011
Posts: 15
Quote
Aw: Modify PDF invoice

I have changed components/com_jshopping/lib/generate_pdf_order.php
and added info for delivery which works, my problem is I dont know the codes to use to get the delivery information and where to put them.

thanks

 
28.02.2012 22:47
#4
d3vin
Joomshopping forum user no avatar
Name: devin
21.02.2012
Posts: 4
Quote
Aw: Modify PDF invoice

too call it it's the same method like call the real address

$pdf->SetFont('freesans','',11);
$pdf->SetXY(110,60);
$pdf->MultiCell(80,4.5,$order->d_firma_name . "\n" . $order->d_f_name . " " . $order->d_l_name . "\n" . $order->d_street . "\n" . $order->d_city . ", " . $order->d_zip . "\n" . $order->d_country . "," . $order->d_phone, 0,'R');


change the XY and multicell ( that i mark in bold ) to change the position.


Website Url: http://devin-lee.com
 
12.03.2012 17:45
#5
paulkemp39
Joomshopping forum user no avatar
Name: paul kemp
16.07.2011
Posts: 15
Quote
Aw: Modify PDF invoice

I have added that info now but still have 2 other issues.
1 How do I show on the pdf witch is delivery address.
2 Shipping method as well as the shipping price.

Many thanks

 
Copyrights MAXXmarketing GmbH. All Rights Reserved