Drako Posted July 7, 2003 Share Posted July 7, 2003 Hi, i've installed OsCommerce MS1 for a while, and everuthing go smooth :). Then i've installed a lot of contrib (about 20!!!) and now i've realyzed that when a user make an order, and write a comment, the comment is lost for some reason... in the Admin control panel i see only few numbers, for example 1, 12, 3, and so on... my question is: which files are involved in the process of writing the comment? where do i have to check? Thx a lot! bye my contribution: Alex's Contributions Link to comment Share on other sites More sharing options...
tidalx Posted July 7, 2003 Share Posted July 7, 2003 it should be in checkout_shipping.php if (!tep_session_is_registered('comments')) tep_session_register('comments'); if (tep_not_null($HTTP_POST_VARS['comments_added'])) { $comments = tep_db_prepare_input($HTTP_POST_VARS['comments']); } $comments variable is then stored in orders in checkout_process.php, $sql_data_array = array('orders_id' => $insert_id, 'orders_status_id' => $order->info['order_status'], 'date_added' => 'now()', 'customer_notified' => $customer_notification, 'comments' => $order->info['comments']); tep_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array); Link to comment Share on other sites More sharing options...
mpdaddy Posted July 7, 2003 Share Posted July 7, 2003 I have heard of individuals having this problem after installing the poll contribution. I cannot confirm, but if you installed it too, try uninstalling it and see if the comments work. Regards Wayne Wetterhahn Link to comment Share on other sites More sharing options...
Drako Posted July 8, 2003 Author Share Posted July 8, 2003 thx, i'll try this out and i'll let u know what appen! my contribution: Alex's Contributions Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.