Hi,
In the "order_status_notification" email, you have this code
if(!empty($itemFields)){
foreach($itemFields as $field){
$namekey = $field->field_namekey;
if(empty($item->$namekey)) continue;
echo '<p>'.$fieldsClass->getFieldName($field).': '.$fieldsClass->show($field,$item->$namekey).'</p>';
}
}
This part of code display item custom fields.
You can add just after:
if(empty($productClass))
$productClass = hikashop_get('class.product');
if($item->product_id > 0) {
$fullProduct = $productClass->get($item->product_id);
if(!empty($fullProduct))
echo '<p>My custom field: ' . $fullProduct->mycustom_field . '</p>';
}
And just changing the text "My custom field" and the custom field name "mycustom_field".
Regards,