так, стоп.
там же в цикле перебираются категории.
сейчас гляну, как правильно выводить.
UPD
1.
catalog/controller/module/category.phpпосле
$this->data['category'] = $this->getCategories(0);добавляем
if ($this->category_id > 0) {
$w_description = $this->model_catalog_category->w_getCategoryDescription($this->category_id);
if (!empty($w_description)) {
$this->data['category'] .= "<br /><div id=\"current_category_description\">".html_entity_decode($w_description, ENT_QUOTES, 'UTF-8')."</div>";
}
}
2.
catalog/model/catalog/category.phpперед
}
?>вставляем
public function w_getCategoryDescription($category_id) {
$description = "";
$query = $this->db->query("SELECT description FROM " . DB_PREFIX . "category_description WHERE category_id = '" . (int)$category_id . "' AND language_id = '" . (int)$this->config->get('config_language_id') . "'");
if ($query->num_rows) {
$description = $query->row["description"];
}
return $description;
}