papa Posted April 24, 2004 Posted April 24, 2004 Hello, can someone help me by making sorting in Invoice.php. I want to sort my items by model number in invoice.php. For example: 000001 000002 000003 erc. thanks in advance
Guest Posted April 25, 2004 Posted April 25, 2004 This should work (untested) - in admin/includes/classes/order.php change the $orders_products_query to: $orders_products_query = tep_db_query("select orders_products_id, products_name, products_model, products_price, products_tax, products_quantity, final_price from " . TABLE_ORDERS_PRODUCTS . " where orders_id = '" . (int)$order_id . "' order by products_model"); Matti
Recommended Posts
Archived
This topic is now archived and is closed to further replies.