I've found some bugs with the comments orders.
1/ The update query in admin / model / customer / order don't save the comments in the order table :
open the file admin / model / customer / order.php and replace the update query (line four) with :
$this->db->query("UPDATE `" . DB_PREFIX . "order` SET order_status_id = '" . (int)$data['order_status_id'] . "', date_modified = NOW(), comment = '" . $this->db->escape(strip_tags($data['comment'])) ."' WHERE order_id = '" . (int)$order_id . "'");
2/ The comment is not display to the user, so :
a) open the file admin / controller / customer / order.php
b) replace the line :
$this->data['comment'] = @$this->request->post['comment'];
with:
if (isset($this->request->post['comment'])) {
$this->data['comment'] = $this->request->post['comment'];
} else {
$this->data['comment'] = @$order_info['comment'];
}
it's all !
