10incher Posted May 14, 2007 Share Posted May 14, 2007 In the Admin section on the Orders page under Order Totals, is there a way to display the shipping cost seperately for each order? Maybe have two columns, one showing the actual cost of the items, the other showing just the shipping costs (for each order). I have been searching through the forums and contributions but can't seem to find anything. Quote Link to comment Share on other sites More sharing options...
Guest Posted May 27, 2007 Share Posted May 27, 2007 you can do it by creating an extra column for the listing to accommodate the shipping cost. Then you implement a query to retrieve it and display it during orders listing. $shipping_method_query = tep_db_query("select concat(title, ' ', text) as shipment from " . TABLE_ORDERS_TOTAL . " where class = 'ot_shipping' and orders_id= '" . $orders['orders_id']. "'"); if( $shipping_method = tep_db_fetch_array($shipping_method_query) ) { echo $shipping_method['shipment']; } else { echo 'N/A'; } haven't tested it or anything but you can get an idea. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.