Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to display customer id in admin screen?


richlewt

Recommended Posts

Hi

I am just trying to sort out the last few issues with my store and would like to be able to see the customer id number when viewing in admin/customers. Anyone know what code to add?

thanks

Rich

"May the seam be with you"

Link to comment
Share on other sites

In catalog/admin/customers.php

 

Add this <td class="dataTableHeadingContent"><?php echo ID; ?></td> above this

    
<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_LASTNAME; ?></td>
<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_FIRSTNAME; ?></td>

 

 

so it looks like this.

 

<td class="dataTableHeadingContent"><?php echo ID; ?></td>
<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_LASTNAME; ?></td>
<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_FIRSTNAME; ?></td>

 

and

 

Add this <td class="dataTableContent"><?php echo $customers['customers_id']; ?></td>

 

above this

<td class="dataTableContent"><?php echo $customers['customers_lastname']; ?></td>
<td class="dataTableContent"><?php echo $customers['customers_firstname']; ?></td>

 

so it looks like this

<td class="dataTableContent"><?php echo $customers['customers_id']; ?></td>
<td class="dataTableContent"><?php echo $customers['customers_lastname']; ?></td>
<td class="dataTableContent"><?php echo $customers['customers_firstname']; ?></td>

while (!succeed) {try()};

 

GMT -6:00

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...