bobg7 Posted April 1, 2007 Share Posted April 1, 2007 I would like to add the shipping method to display when I'm viewing admin/orders.php so I can see what shipping method select. I have already edited it so I can see the title but need help extracting the data do display. Here is a quick shot of what I have already: What is the code I need to add to admin/orders.php so it will pull the details from TABLE_SHIPPING_DETAILS shipping_method. Thanks in advance. Bob G. Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
Guest Posted April 1, 2007 Share Posted April 1, 2007 in the admin\orders.php right below this: $contents[] = array('text' => '<br>' . TEXT_INFO_PAYMENT_METHOD . ' ' . $oInfo->payment_method); you add: $shipping_method_query = tep_db_query("select title from " . TABLE_ORDERS_TOTAL . " where class = 'ot_shipping' and orders_id= '" . $oInfo->orders_id . "'"); if( $shipping_method = tep_db_fetch_array($shipping_method_query) ) { $contents[] = array('text' => '<br>' . TEXT_INFO_SHIPPING_METHOD . ' ' . $shipping_method['title']); } Just set the header string in the language file. Link to comment Share on other sites More sharing options...
bobg7 Posted April 1, 2007 Author Share Posted April 1, 2007 Perfect, just what I was looking for, thanks for your help. :thumbsup: Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.