Is there an easy way to get an "Event Custom Field" into PDF invoice (shopping cart)? We need a text string on each row for some events (see attached example with "Kategori: Bankörning MC".
I've done it an ugly way now by editing "/emailtemplates/invoice_items.php" with this:
<td>
<?php echo $rowEvent->title; ?> <BR>
<?php
if (str_contains($rowEvent->custom_fields, 'MC'))
{
echo 'Kategori: Bankorning MC';
}
else
{
echo '';
}
?>
</td>
Is there a better (less ugly) way?
Cheers!