Problem order pdf layout

25.09.2013 11:00
#1
wbwebbrand
Joomshopping forum user no avatar
Name: cinzia
20.02.2013
Posts: 58
Quote
Problem order pdf layout

Hello I receive the order in pdf characters overlap and how do I put them in place?
Problem order pdf layout
Problem order pdf layout


Letzte Änderung: 25.09.2013 11:33
 
25.09.2013 16:40
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19066
Quote
Aw: Problem order pdf layout

Change text (language file)

or
change in
lib/generete_pdf_order.php

 
25.09.2013 21:12
#3
wbwebbrand
Joomshopping forum user no avatar
Name: cinzia
20.02.2013
Posts: 58
Quote
Aw: Problem order pdf layout

ok but I do not have to change the text, but I have to go put more space between the single item and the item's price. In the pdf if you see are almost stuck and where I go to change the page layout? How do I change the php? You can not please guide me better x, or tell me what and how exactly I need to change? thanks

 
25.09.2013 21:38
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19066
Quote
Aw: Problem order pdf layout

1. The simple solution - change the text

$pdf->MultiCell(25, 4, _JSHOP_SINGLEPRICE, 1, 'L');

change to

$pdf->MultiCell(25, 4, "Price", 1, 'L');

2. chnage Code (no simple solution)
$width_filename = 65;
if (!$jshopConfig->show_product_code_in_order) $width_filename = 87;
$pdf->setfillcolor($pdf->pdfcolors[1][0], $pdf->pdfcolors[1][1], $pdf->pdfcolors[1][2]);
$pdf->Rect(20,116,170,4,'F');
$pdf->SetFont('freesansb','',7.5);
$pdf->SetXY(20,116);
$pdf->MultiCell($width_filename, 4, _JSHOP_NAME_PRODUCT, 1, 'L');

if ($jshopConfig->show_product_code_in_order){
$pdf->SetXY(85,116);
$pdf->MultiCell(22, 4, _JSHOP_EAN_PRODUCT, 1, 'L');
}

$pdf->SetXY(107,116);
$pdf->MultiCell(18, 4, _JSHOP_QUANTITY, 1, 'L');

$pdf->SetXY(125,116);
$pdf->MultiCell(25, 4, _JSHOP_SINGLEPRICE, 1, 'L');
$pdf->SetXY(150,116);
$pdf->MultiCell(40, 4,_JSHOP_TOTAL, 1,'R');

.....

$pdf->SetXY(85,116);

Change 85 to ..


Letzte Änderung: 25.09.2013 21:40
 
26.09.2013 18:44
#5
wbwebbrand
Joomshopping forum user no avatar
Name: cinzia
20.02.2013
Posts: 58
Quote
Aw: Problem order pdf layout

ok thanks

 
23.12.2015 13:23
#6
isamar
Joomshopping forum user no avatar
Name: george
05.03.2014
Posts: 136
Quote
Aw: Problem order pdf layout

How can I add number 1,2,3 next to each product if I have 3 products?

 
22.01.2016 08:15
#7
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19066
Quote
Aw: Problem order pdf layout

Not options. Need change code.

 


Copyrights MAXXmarketing GmbH. All Rights Reserved
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.