Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do you show order ID on edit order page?


ohyes

Recommended Posts

Posted

I don't know why this is not automatically displayed along with all the other order info but if anyone can help me set it up that would be great.

 

Thanks in advance.

Posted

I don't know why this is not automatically displayed along with all the other order info but if anyone can help me set it up that would be great.

 

Thanks in advance.

Try this code in the orders.php file in your admin section.

 

     <tr>
       <td><table border="0" cellspacing="0" cellpadding="2">
         <tr>
           <td class="main"><b><?php echo ENTRY_PAYMENT_METHOD; ?></b></td>
           <td class="main"><?php echo $order->info['payment_method']; ?></td>
         </tr>
         <tr>
           <td class="main" align="center"><b>Order Number: <?php echo$oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); ?></b></td>
        </tr>
<?php

 

Find the top part, add the bottom part.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

Try this code in the orders.php file in your admin section.

 

     <tr>
       <td><table border="0" cellspacing="0" cellpadding="2">
         <tr>
           <td class="main"><b><?php echo ENTRY_PAYMENT_METHOD; ?></b></td>
           <td class="main"><?php echo $order->info['payment_method']; ?></td>
         </tr>
         <tr>
           <td class="main" align="center"><b>Order Number: <?php echo$oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); ?></b></td>
        </tr>
<?php

 

Thanks mdtaylorlrim! That did the trick.

Posted

You may also want to take a look at Additional Order Info contribution in my AddOns. It adds that as well as other useful information.

 

Great, thanks for letting me know. I would also like to re-arrange the totals on my edit order page (an example would be to place the coupon discount total below the sub-total), does your contribution have this ability? It's like finding a needle in a haystack by opening the file and searching :(

 

Thanks again.

Posted

Great, thanks for letting me know. I would also like to re-arrange the totals on my edit order page (an example would be to place the coupon discount total below the sub-total), does your contribution have this ability? It's like finding a needle in a haystack by opening the file and searching :(

 

Thanks again.

Re-arranging the totals can probably be done in the Administration -> Modules -> Order Total pages. Just set the sort order as desired. The result should be a reordering of the items throughout osC.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

Re-arranging the totals can probably be done in the Administration -> Modules -> Order Total pages. Just set the sort order as desired. The result should be a reordering of the items throughout osC.

 

That's strange, I did the sort order there (0,1,2,3) but nothing changed at all?? Any ideas why it didn't work or what I should check?

 

 

Thanks!

Posted

That's strange, I did the sort order there (0,1,2,3) but nothing changed at all?? Any ideas why it didn't work or what I should check?

 

 

Thanks!

If I remember correctly it will only change new sales, not past sales.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

If I remember correctly it will only change new sales, not past sales.

 

Do you know if it's possible to re-arrange the code in order.php maybe? Probably not...

Archived

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

×
×
  • Create New...