PDF - Property Attribute issue - help please ...
Posted: 11 Jun 2009, 07:04
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.
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.