В контроллер модуля Рекомендуемые вставляю код
public function review() {
$this->language->load('product/product');
$this->load->model('catalog/review');
$this->data['reviews'] = array();
$review_total = $this->model_catalog_review->getTotalReviewsByProductId($this->request->get['product_id']);
$results = $this->model_catalog_review->getReviewsByProductId($this->request->get['product_id'], ($page - 1) * 5, 5);
foreach ($results as $result) {
$this->data['reviews'][] = array(
'author' => $result['author'],
'text' => $result['text'],
'rating' => (int)$result['rating'],
'reviews' => sprintf($this->language->get('text_reviews'), (int)$review_total),
'date_added' => date($this->language->get('date_format_short'), strtotime($result['date_added']))
);
}
$this->response->setOutput($this->render());
}
в модуле вывожу
<?php if ($reviews) { ?>
<?php foreach ($reviews as $review) { ?>
<div class="author"><span><?php echo $review['author']; ?></span> <?php echo $text_on; ?> <b><?php echo $review['date_added']; ?></b></div>
<div class="text"><?php echo $review['text']; ?></div>
<?php } ?>
<?php } ?>