fixed add to wishlist/compare buttons and added product review

This commit is contained in:
TMMeilleur
2013-11-18 15:52:39 +02:00
parent 89c65536d7
commit 95b9710eda
18 changed files with 639 additions and 293 deletions
@@ -709,6 +709,7 @@ class ProductComments extends Module
$this->smarty->assign(array(
'product' => $params['product'],
'averageTotal' => round($average['grade']),
'nbComments' => (int)(ProductComment::getCommentNumber((int)$params['product']['id_product']))
));
return $this->display(__FILE__, 'productcomments_reviews.tpl');
}