Hi,
When you edit the email, at the bottom of the screen you have the "preload" area which is where you'll find all the PHP code which initialize the tags that are used in the HTML version.
So that's where you want to look.
It's this code:
ob_start();
$sep = '';
if(hikashop_level(2)) {
$fields = $fieldsClass->getFields('display:field_order_admin_notification=1',$data,'order','');
foreach($fields as $fieldName => $oneExtraField) {
if(empty($data->cart->$fieldName))
continue;
echo $sep . $fieldsClass->trans($oneExtraField->field_realname).' : '.$fieldsClass->show($oneExtraField, $data->cart->$fieldName,'admin_email');
$sep = '<br />';
}
}
JPluginHelper::importPlugin('hikashop');
$dispatcher = JDispatcher::getInstance();
$dispatcher->trigger('onAfterOrderProductsListingDisplay', array(&$data->cart, 'email_notification_html'));
$content = ob_get_clean();
$vars['ORDER_SUMMARY'] = trim($content);