Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Insert Invoice # Into Admin Order Area


tbray

Recommended Posts

Hi:

 

I'm wondering what I alter to print (echo?) an invoice number here:

--orders.php?selected_box=customers&status--

 

which is the customer order status screen that shows a particular order. I'd like the order number to appear, perhaps after the telephone number..

 

Thanks!

 

Thom

Link to comment
Share on other sites

Simple one... find this in admin/orders.php:

 

          <tr>
               <td class="main"><b><?php echo ENTRY_TELEPHONE_NUMBER; ?></b></td>
               <td class="main"><?php echo $order->customer['telephone']; ?></td>
             </tr>

 

Add this after it:

 

     <tr>
          <td class="main"><b><?php echo ENTRY_INVOICE_ID; ?></b></td>
          <td class="main"><?php echo tep_db_input($oID); ?></td>
        </tr>

 

And then define ENTRY_INVOICE_ID in the language file.

 

HTH

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...