Remove the extra spacing at the bottom of every item row
The extra spacing is a result of an empty table row (reserved for custom options) under
app/design/frontend/base/default/template/fooman/pdfcustomiser/item.phtml
You can remove it by deleting
<?php if ( $pdfItem['productDetails']['Options'] || $pdfItem['giftMessage']['message'] || $pdfItem['productDetails']['Subitems'] ) : ?> </tr> <tr nobr="true"> <td style="<?php echo ($styleOverride ? $styleOverride['style_last'] : $column['style_last']) ?> " colspan="<?php echo $maxColumns ?>" width="100%"> <?php $options = $pdfItem['productDetails']['Options'] ?> <?php if ($options) : ?> <?php if (isset($options['options'])) : ?> <?php foreach ($options['options'] as $option) : ?> <?php if ($option['label'] == 'Detail') : ?> <?php foreach (explode("\n", $option['value']) as $detailLines) : ?> <?php echo '<br/> ' . $this->getPdfHelper()->fixEncoding($detailLines) ?> <?php endforeach; ?> <?php else : ?> <?php //Aitoc Custom Product Options adds a whole bunch of JS ?> <?php //filter it out here ?> <?php if (strpos($option['value'], 'Aitcg.Main') === false) : ?> <?php $printValue = isset($option['print_value']) ? $option['print_value'] : $option['value'] ?> <?php echo '<br/> ' . $this->getPdfHelper()->fixEncoding($option['label'] . ': ' . $printValue) ?> <?php endif; ?> <?php endif; ?> <?php endforeach; ?> <?php echo '<br/>' ?> <?php endif; ?> <?php if (isset($options['additional_options'])) : ?> <?php foreach ($options['additional_options'] as $additionalOption) : ?> <?php echo '<br/> ' . $this->getPdfHelper()->fixEncoding( $additionalOption['label'] . ': ' . $additionalOption['value']) ?> <?php endforeach; ?> <?php //echo '<br/>' ?> <?php endif; ?> <?php if (isset($options['attributes_info'])) : ?> <?php foreach ($options['attributes_info'] as $attribute) : ?> <?php echo '<br/> ' . $this->getPdfHelper()->fixEncoding( $attribute['label'] . ': ' . $attribute['value']) ?> <?php endforeach; ?> <?php endif; ?> <?php endif; ?> <?php if(!empty($pdfItem['productDetails']['Subitems'])):?> <?php foreach ($pdfItem['productDetails']['Subitems'] as $subitem) :?> <br/> <?php echo $subitem['qty']?> x <?php echo $subitem['Name']?> <?php endforeach;?> <?php endif;?> <?php echo $this->getPdfHelper()->OutputGiftMessageItem($pdfItem['giftMessage']) . $vertSpacing ?> </td> <?php endif; ?>
If you want to display the product options, subitems or gift message, please transfer the codes to one of the active columns you can find within the file.