gaspower Posted December 19, 2003 Share Posted December 19, 2003 Hello, Can someone please show me the code to add to admin/orders.php so that the customer id number will appear. Thanks JR B) B) Link to comment Share on other sites More sharing options...
TomThumb Posted December 19, 2003 Share Posted December 19, 2003 Look for this, add o.customers_id where shown. } else { $orders_query_raw = "select o.orders_id, o.customers_id, o.customers_name, o.payment_method, o.date_purchased, o.last_modified, o.currency, o.currency_value, s.orders_status_name, ot.text as order_total from " . TABLE_ORDERS . " o left join " . TABLE_ORDERS_TOTAL . " ot on (o.orders_id = ot.orders_id), " . TABLE_ORDERS_STATUS . " s where o.orders_status = s.orders_status_id and s.language_id = '" . (int)$languages_id . "' and ot.class = 'ot_total' order by o.orders_id DESC"; Then find the line that ends $orders['customers_name']; ?> Add $orders['customers_name'] . ' ' . $orders['customers_id']; ?> while (!succeed) {try()}; GMT -6:00 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.