You could do a quick search for existing orders by adding to the file:
/admin/orders.php
around line 348 just before the closing ?> the following:
PHP Code:
$zc_customers_query = $db->Execute("select customers_id from " . TABLE_ORDERS . " WHERE orders_id = '" . $oID . "'");
$zc_count_orders_query = $db->Execute("select count(*) as count_orders from " . TABLE_ORDERS . " WHERE customers_id = '" . $zc_customers_query->fields['customers_id'] . "'");
Now you can echo the results for:
$zc_count_orders_query->fields['count_orders']
where you like on the orders page ...
Bookmarks