Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

order number on orders.php listing


martyn_lizardmedia

Recommended Posts

Hi im trying to get order numbers to appear on th orders.php listing ...

 

the bit i need to edit is

 

d class="dataTableContent"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $orders['orders_id'] . '&action=edit') . '">' . tep_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW) . '</a> ' . $orders['customers_name']; ?></td>
? ? ? ? ? ? ? ?<td class="dataTableContent" align="right"><?php echo strip_tags($orders['order_total']); ?></td>
? ? ? ? ? ? ? ?<td class="dataTableContent" align="center"><?php echo tep_datetime_short($orders['date_purchased']); ?></td>
? ? ? ? ? ? ? ?<td class="dataTableContent" align="right"><?php echo $orders['orders_status_name']; ?></td>
? ? ? ? ? ? ? ?<td class="dataTableContent" align="right"><?php if (isset($oInfo) && is_object($oInfo) && ($orders['orders_id'] == $oInfo->orders_id)) { echo tep_image(DIR_WS_IMAGES . 'icon_arrow_right.gif', ''); } else { echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID')) . 'oID=' . $orders['orders_id']) . '">' . tep_image(DIR_WS_IMAGES . 'icon_info.gif', IMAGE_ICON_INFO) . '</a>'; } ?> </td>

 

and ive tried adding this ..

 

<td class="dataTableContent"><?php echo $order->info['number']; ?></td>

 

which works on the edit page ... but not in the main listing

 

any help please ?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...