Hello Jan
what is it in the FAQ - Invoice, Delivery Note, Receipt
https://www.phoca.cz/documents/18-virtue ... te-receipt
2. Is it possible to create more detailed entries for the products, so that the invoice etc. shows not only the product name, but also the options chosen (like color or upgrades...)?
Change the lines in the delivery.pdf.php (just above "// Sumarize").
<?php
$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);
?>
The trick is to change the product_attribute string step by step. First, the HTML-breaks are changed into linebreaks that FPDF can understand. Second, a closing linebreak is added ($varPA . "\n";). Third, to get the linebreaks working, the cell command is extended to the "multicell" command.