Hi,
If you update to the latest version of HikaShop, there are specific options in the custom fields to control where the custom order fields should and should not display, including the emails.
So there is no need to change any code.
If you don't want to update, the you'll have to edit the "preload version" of the email, and remove the part of the code near the bottom related to the custom order fields:
$sep = '';
if(hikashop_level(2)) {
$fields = $fieldsClass->getFields('display:field_order_status_notification=1',$data,'order','');
foreach($fields as $fieldName => $oneExtraField) {
if(isset($data->$fieldName) && !isset($data->cart->$fieldName))
$data->cart->$fieldName = $data->$fieldName;
if(empty($data->cart->$fieldName))
continue;
echo $sep . $fieldsClass->trans($oneExtraField->field_realname).' : '.$fieldsClass->show($oneExtraField, $data->cart->$fieldName,'user_email');
$sep = '<br />';
}
}