Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Coments don't work anymore


Drako

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...