Hi Nicolas,
I've got the following code now in the 'order creation notification' email:
<td>
<p><?php echo $item->order_product_name; ?></p><?php
if(!empty($itemFields)){
foreach($itemFields as $field){
$namekey = $field->field_namekey;
if(empty($item->$namekey)) continue;
echo ''.preg_replace('##U','',$field->field_realname).': '.$fieldsClass->show($field,$item->$namekey).'';
}
} ?>
</td>
I've tried and still won't work, I get the same error. Do I need to change this code elsewhere as well?? I'm not sure on that.
If you want to try it out, here is the site:
www.idesignorkney.co.uk/test/
The products are in 'online' products, the steps are all working as they should otherwise, apart from the last step before PayPal.
Thank you, Nicolas!