Guest Posted June 3, 2004 Posted June 3, 2004 Check my other post. Detailed Invoice Hope this helps. Backup...Backup...Backup
Goanna Posted June 3, 2004 Posted June 3, 2004 fl70, Is there anywhere I can see a demo of that invoice? I already have a highly customized invoice and dont want to mess around with it too much, but I would like to see what that one looks like. Even a screen shot would be fine if you dont have a demo store. Thanks.
Acheron Posted June 3, 2004 Posted June 3, 2004 I added some code before SOLD_TO in catalog/admin/invoice.php ... <td class="main"><b>Order ID: </b><?php echo $oID;?><b><br><br><?php echo ENTRY_SOLD_TO; ?></b></td> At the top of the file I have the code below, but think it was already there: $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'"); include(DIR_WS_CLASSES . 'order.php'); $order = new order($oID);
Guest Posted June 4, 2004 Posted June 4, 2004 Check my other post.Detailed Invoice Hope this helps. Backup...Backup...Backup hi fl70, Thanks a ton. I just wanted the Order number on the invoice, so took the following from your code only: <tr> <td class="main"><b><?php echo ENTRY_ORDER_ID; ?></b></td> <td class="main"><?php echo tep_db_input($oID); ?></td> </tr> and in the language file: define('ENTRY_ORDER_ID', 'Order #'); Thanks a lot for this. Worked a treat :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.