Adding Second Address Line t oPDF

17.09.2016 14:23
#1
jmil
Joomshopping forum user no avatar
Name: Jim Miller
19.09.2011
Сообщения: 104
Quote
Adding Second Address Line t oPDF

My PDF are missing the second Address line, eg. Apt number or longer street address.
I just need the proper line of code to add to the generate_pdf_rder.php

I tried numerous ideas but cant quite get it.

$address_data = array(
$order->firma_name,
trim($order->f_name." ".$order->l_name." ".$order->m_name),
trim(trim($order->street." ".$order->street_nr)." ".$order->home." ".$order->apartment),
trim($order->street2),
trim($order->city." ".$order->zip),
$order->country
);

Just need the right code


Joomla: 3.6.2
JoomShopping: 4.14.3
 
17.09.2016 20:20
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25930
Quote
Aw: Adding Second Address Line t oPDF

See field name in registration (example firefox+ firebug)

url?

 
19.09.2016 17:35
#3
jmil
Joomshopping forum user no avatar
Name: Jim Miller
19.09.2011
Сообщения: 104
Quote
Aw: Adding Second Address Line t oPDF

www.wildbikers.com

I am also having trouble adding STATE to the PDF for both mvendor and for Customer:

I added the following code with no luck:

$pdf->MultiCell(80,3, $vendorinfo->company_name.", ".$vendorinfo->adress.", ".$vendorinfo->city.", ".$vendorinfo->state." ".$vendorinfo->zip,0,'L');

and

trim($order->city." ".$order->state." ".$order->zip),

NOTE - THis Happened AFTER I Upgraded the JOOMLA and the JOOMSHOPPING to the Latest. I was behind a few so I do not know if or what version may have done this!


I added a PDF in attachments
test1.pdf


Последнее изменение: 19.09.2016 17:50
 
20.09.2016 08:02
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25930
Quote
Aw: Adding Second Address Line t oPDF

example error?
fields?

 
20.09.2016 14:39
#5
jmil
Joomshopping forum user no avatar
Name: Jim Miller
19.09.2011
Сообщения: 104
Quote
Aw: Adding Second Address Line t oPDF

I played with it last night and think I got some fields working but completly out of order on teh Invoice

See Attached

FIrm Name should be after Name
Apt Should have its own line
Second adress Line - (Corner Street) should be a separate line

Every time I try and reorganize its breaks the form.

IMO Form should be:

Full Name
Firm NAme
Address
Apt
Second Address Line
City, State ZIP
Country
example_one.pdf


Website Url: www.wildbikers.com
 
20.09.2016 20:00
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 25930
Quote
Aw: Adding Second Address Line t oPDF

Joomshopping no fields

-Address

-Second Address Line


Use phpmyadmin
see table jshopping_orders


Последнее изменение: 20.09.2016 20:01
 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.