I have the issue of NOT being able to show property attributes (i.e.attributes for products, i.e. arm extensions, etc).
http://www.accesstoworkquote.co.uk/screenprint.JPG
screenprint of issue,
i need to be able to show property values (attributes) for all products, not just the single set. If you look at the screenprint, Tango 100 is missing attribute values. It needs to output attributes associated with the property for each product, not just the single product. below is my code, what would i change so it show attributes for every product not just the one property value.
website: http://www.accesstoworkquote.co.uk where im trying to make it work.
} else {
$pdf->Cell(70,5,$db->f('order_item_name'),0,0,'L');
$pdf->Cell(10,5,$db->f('product_quantity'),0,0,'C');
$pdf->Cell(10,5,$db->f('product_quantity_delivered'),0,0,'C');
$pdf->Cell(20,5,$remaining,0,0,'C');
}
$pdf->Ln(5);
if(!empty($attribute)) {
$pdf->Cell(30,5,'',0,0,'L');
$pdf->Cell(130,5,"(".$db->f('product_attribute').")",0,0,'L');
$pdf->Ln(5);
}
}
$pdf->Cell(30,5,'',0,0,'L');
$varPA = ereg_replace ("<br/>", "\n", $db->f("product_attribute") );
$varPA2 = $varPA . "\n";
$pdf->MultiCell(130,5,$pdf->unhtmlentities($varPA2),0,0,'L');
$pdf->Ln(5);
// Sumarize
____________________________________________________________________________
I got the value to show however when they choose couple of products, it only shows one set of property fields. I need it to show other property value for other products, PLEASE HELP thank you so much.
HELP PLEASE - can you please assist me in the code
so i am able to output PDF to show product attributes for every product, not just the 1 product.
PDF - Property Attribute issue - help please ...
-
- Phoca Newbie
- Posts: 2
- Joined: 06 Jun 2009, 09:07
- Jan
- Phoca Hero
- Posts: 48536
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF - Property Attribute issue - help please ...
Hi, I didn't do such patch, so I really don't know, I am plannig to convert this addon uder Phoca PDF, so I will take a look at it.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 07 Oct 2009, 22:32
Re: PDF - Property Attribute issue - help please ...
Any news on this matter?
I need the feature too.
I need the feature too.
- Jan
- Phoca Hero
- Posts: 48536
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF - Property Attribute issue - help please ...
still not as I have time issues with answering the forum posts 

If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 28 Oct 2009, 08:26
Re: PDF - Property Attribute issue - help please ...
hi,
i have the same problem. downloaded the latest version of the IDnR addon und install it.
i also setup attributes for products in vm (latest stable version, also joomla).
when i try to output (i.e.) the pdf it NOT shows any attributes
is there a way to solve this little problem? please, please, please.
any help or hints are welcome
With best regards,
paulchen007
i have the same problem. downloaded the latest version of the IDnR addon und install it.
i also setup attributes for products in vm (latest stable version, also joomla).
when i try to output (i.e.) the pdf it NOT shows any attributes

is there a way to solve this little problem? please, please, please.
any help or hints are welcome

With best regards,
paulchen007
-
- Phoca Newbie
- Posts: 2
- Joined: 21 Jan 2010, 16:57
Re: PDF - Property Attribute issue - help please ...
to have all products with attributes show you need to change the text above \\summarize in the delivery.pdf.php to:
if(!empty($attribute)) {
$pdf->Cell(30,5,'',0,0,'L');
$pdf->Cell(130,5,"(".$db->f('product_attribute').")",0,0,'L');
$pdf->Ln(5);
}$pdf->Cell(30,5,'',0,0,'L');
$varPA = ereg_replace ("<br/>", "\n", $db->f("product_attribute") );
$varPA2 = $varPA . "\n";
$pdf->MultiCell(130,5,$pdf->unhtmlentities($varPA2),0,0,'L');
$pdf->Ln(5);
}
this will now work.
if(!empty($attribute)) {
$pdf->Cell(30,5,'',0,0,'L');
$pdf->Cell(130,5,"(".$db->f('product_attribute').")",0,0,'L');
$pdf->Ln(5);
}$pdf->Cell(30,5,'',0,0,'L');
$varPA = ereg_replace ("<br/>", "\n", $db->f("product_attribute") );
$varPA2 = $varPA . "\n";
$pdf->MultiCell(130,5,$pdf->unhtmlentities($varPA2),0,0,'L');
$pdf->Ln(5);
}
this will now work.
www.digitechstorbay.co.uk
Joomla & Virtuemart Specialists
Joomla & Virtuemart Specialists
- Jan
- Phoca Hero
- Posts: 48536
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PDF - Property Attribute issue - help please ...
Ok, thank you for this solution.
Jan
Jan
If you find Phoca extensions useful, please support the project