OK, here is what I've done:
in the file includes/classes/order.php on or about line 955 find:
Code:
$html_msg['PAYMENT_METHOD_DETAIL'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->title : PAYMENT_METHOD_GV );
add after it the following line obviously replacing items your details:
Code:
if ($GLOBALS[$payment_class]->title == "Direct Bank Deposit"){ $html_msg['PAYMENT_METHOD_DETAIL'].= "<div style='text-align:left'><br><strong><span style='color:#FF0000'>Bank details</style></strong><br>Bank: ******<br>Account name: ******<br>BSB: ******<br>Account: ******<br>Reference: CID-" . $_SESSION['customer_id'] . "</div>";}
I preferred to have bank details left aligned hence the <div>. Also highlighted the header in red.
The reference at the end is so that I can match the customer to the payment. I would much rather include the invoice number but I couldn't figure how to pick it up on the checkout page so customer ID will do. Didn't want to spend any more time on it. May come back to that.
Hope this helps
Bookmarks