Вот решил поделиться, т.к. кто-то спрашивал "как вывести краткое описание в модуль рекомендуем?"
1. В шаблоне в папке module открываем файл featured.tpl
2. Определяемся в каком месте выводим описание, допустим после наименования товара.
3.Находим в файле featured.tpl строку
<div class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></div>
после нее вставляем следующее
<div id="short-dis"><?php echo $product['description']; ?></div>
По аналогии делаем с другими файлами latest.tpl bestseller.tpl special.tpl4. Далее идем в папку catalog > controller > module и открываем файл featured.php .
5. Находим кусок кода
$this->data['products'][] = array(
'product_id' => $product_info['product_id'],
'thumb' => $image,
'name' => $product_info['name'],
'price' => $price,
'special' => $special,
'rating' => $rating,
'reviews' => sprintf($this->language->get('text_reviews'), (int)$product_info['reviews']),
'href' => $this->url->link('product/product', 'product_id=' . $product_info['product_id']),
и после
'product_id' => $product_info['product_id'],
вставляем следующую строку
'description' => mb_substr(strip_tags(html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..',
в файлах latest.php bestseller.php special.php вставить строку
'description' => mb_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..',
Что означает строка
'description' => mb_substr(strip_tags(html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..',
она выводит описание с максимальным кол-вом символов 100, поэтому если вам надо больше символов или меньше, то меняете в конце строки число 100 на свое.6. В файле стилей, т.е. в stylesheet.css в самом низу добавляем стили для нового блока short-dis
например такой:
#short-dis{
display: block;
color:#000000;
font:12px;
}
Вроде все...