You could customize the file:
/your_secret_admin/invoice.php
with the code in RED:
Code:
<tr>
<td class="main"><b><?php echo ENTRY_PAYMENT_METHOD; ?></b></td>
<td class="main"><?php echo $order->info['payment_method']; ?></td>
</tr>
<?php
// bof: number of orders
$customers_orders = $db->Execute("select o.orders_id, o.date_purchased, o.order_total, o.currency, o.currency_value from " . TABLE_ORDERS . " o
where customers_id='" . $order->customer['id'] . "'");
?>
<tr>
<td class="main"><b><?php echo 'Number of Orders: '; ?></b></td>
<td class="main"><?php echo $customers_orders->RecordCount(); ?></td>
</tr>
<?php
// eof: number of orders
?>
</table></td>
Bookmarks