OK. I am starting to think it has nothing to do with the admin/orders.php.
I downloaded the the new version of zen cart (full file set) and am comparing to my current files using beyond compare (a file comparing utility).
In my e-mail folder there is an e-mails_template_checkout.html and I compared the new e-mail template with my current template. I noticed that this was missing and added it:
Code:
<tr>
<td class="content-line-title"><strong>$PAYMENT_METHOD_TITLE</strong></td>
</tr>
<tr>
<td class="payment-detail">$PAYMENT_METHOD_DETAIL</td>
</tr>
$PAYMENT_METHOD_FOOTER</td>
</tr>
During testing the e-mail now has in bold lettering: Payment Method (which is brought by the $PAYMENT_METHOD_TITLE above). But the line that should say what type of payment is blank. That is the: $PAYMENT_METHOD_DETAIL
So the e-mail is defined, and I now know I need make sure the $PAYMENT_METHOD_DETAIL shows. It does not. I entered this into the Developers toolkit and found this:
Code:
Searching 41 files ... for: PAYMENT_METHOD_DETAIL
/MYFOLDERSTRUCTURE/includes/classes/order.php
Line #947 : $html_msg['PAYMENT_METHOD_DETAIL'] = (is_object($GLOBALS[$_SESSION['payment']]) ? $GLOBALS[$payment_class]->title : PAYMENT_METHOD_GV );
This orders.php file is not in the admin folder like I thought before. So I file compared these. And both the new and old files have this coding above.
There is no $PAYMENT_METHOD_DETAIL in the admin/orders.php (brand new file or my current one).
Comparing both order e-mails, admin/order.php and includes/classes/orders.php I cannot find anything missing that is related to $PAYMENT_METHOD_DETAIL
Seems to me that the $PAYMENT_METHOD_DETAIL should not be drawing a blank in the notification e-mail. Especially since the: $PAYMENT_METHOD_TITLE shows just fine.
Any ideas as to what to check next?