A user of this forum thought that this issue could be resolved by accessing product.tpl and making the following changes:
However, the problem is still persisting.yodapt wrote:should beCode: Select all
$('#review .pagination a').live('click', function() {
Code: Select all
$('#review .pagination-bottom a').live('click', function() {
I decided that I would change the pagination limit to 30 so that all of the 9 reviews (there are about 9 reviews on the above website, 5 displaying on page 1 and the remainder on page 2) display on page 1 which does not have the template display error. I changed the pagination limit to 30 within:
by making the necessary changes to:catalog/controller/product/product.php
Code: Select all
$results = $this->model_catalog_review->getReviewsByProductId($this->request->get['product_id'], ($page - 1) * 30, 30);
foreach ($results as $result) {
$this->data['reviews'][] = array(
'author' => $result['author'],
'rating' => $result['rating'],
'text' => strip_tags($result['text']),
'stars' => sprintf($this->language->get('text_stars'), $result['rating']),
'date_added' => date($this->language->get('date_format_short'), strtotime($result['date_added']))
);
}
$review_total = $this->model_catalog_review->getTotalReviewsByProductId($this->request->get['product_id']);
$pagination = new Pagination();
$pagination->total = $review_total;
$pagination->page = $page;
$pagination->limit = 30;
Is there anything else that I can try to resolve the reviews page issue?