$unpaid_statuses = explode(',', $config->get('order_unpaid_statuses', 'created'));
if(in_array($data->order_status, $unpaid_statuses) && !empty($data->order_payment_method) && $data->order_payment_method != 'collectondelivery') {
ob_start();
if($data->cart->full_total->prices[0]->price_value_with_tax>0)
echo '<p>' . JText::_('ORDER_VALID_AFTER_PAYMENT') . '</p>';
if(in_array($data->order_payment_method, array('banktransfer', 'check', 'purchaseorder'))) {
$amount = $currencyHelper->format($data->cart->full_total->prices[0]->price_value_with_tax, $data->cart->order_currency_id);
$paymentClass = hikashop_get('class.payment');
$payment = $paymentClass->get($data->order_payment_id);
$information = $payment->payment_params->information;
if(preg_match('#^[a-z0-9_]*$#i',$information)){
$information = JText::_($information);
}
if($data->order_payment_method=='banktransfer'){
echo '<p>' . JText::sprintf('PLEASE_TRANSFERT_MONEY',$amount).'<br/>'.$information.'<br/>'.JText::sprintf('INCLUDE_ORDER_NUMBER_TO_TRANSFER',$data->order_number) . '</p>';
}elseif($data->order_payment_method=='check'){
echo '<p>' . JText::sprintf('PLEASE_SEND_CHECK',$amount).'<br/>'.$information.'<br/>'.JText::sprintf('INCLUDE_ORDER_NUMBER_TO_CHECK',$data->order_number) . '</p>';
}elseif($data->order_payment_method=='purchaseorder'){
echo '<p>' . JText::sprintf('PLEASE_SEND_PURCHASEORDER',$amount).'<br/>'.$information.'<br/>'.JText::sprintf('INCLUDE_ORDER_NUMBER_TO_PURCHASEORDER',$data->order_number) . '</p>';
}
} else {
if($data->cart->full_total->prices[0]->price_value_with_tax>0 && hikashop_level(1) && $config->get('allow_payment_button',1)) {
$pay_url = 'index.php?option=com_hikashop&ctrl=order&task=pay&order_id='.$data->order_id.$url_itemid;
if(empty($customer->user_cms_id) && !empty($data->order_token)) {
$pay_url .= '&order_token='.urlencode($data->order_token);
}
$pay_url = hikashop_frontendLink($pay_url);
if($config->get('force_ssl',0) && strpos('https://',$pay_url) === false) {
$pay_url = str_replace('http://','https://',$pay_url);
}
echo '<p><a href="'. $pay_url .'">'.JText::_('PAY_NOW') . '</a></p>';
}
}
$content = ob_get_clean();
$vars['ORDER_SUMMARY'] .= $content;
}
Adding that same code at the end of the preload section of the "order notification" email should add what you want to the order notification emails.