Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Order ID on Admin Orders.php Page


Recommended Posts

This might serve as an easing option to view order id along with other vital pieces of information on your orders page for administration. Let’s implement this.

 

Backup:

/catalog/admin/includes/languages/english/orders.php

/catalog/admin/orders.php

 

Navigate to: /catalog/admin/includes/languages/english/orders.php

 

Search for: define('TABLE_HEADING_ACTION', 'Action');

Add after: define('TABLE_HEADING_ORDERID', 'Order ID');

 

Navigate to: /catalog/admin/orders.php

 

Search for: echo TABLE_HEADING_ACTION; ?> </td>

Add after: <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ORDERID; ?></td>

 

Search for: IMAGE_ICON_INFO) . '</a>'; } ?> </td>

Add after: <td class="dataTableContent" align="right"><?php echo $orders['orders_id']; ?></td>

 

Save and upload both files, login as admin, navigate to orders under customers. Corresponding Order ID for each order should now appear in its respective column. Hope this helps!

Edited by blogicians.com
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...