Post by smokelight » Thu Apr 19, 2012 1:16 pm

im useing v1.5.1.1 on my product page its show only the last 5 reviews how can i Chang it to show more then 5 reviews on a page ?
thanks in advanced

New member

Posts

Joined
Wed Nov 23, 2011 1:59 am

Post by Avvici » Thu Apr 19, 2012 2:23 pm

I already answered your question here http://forum.opencart.com/viewtopic.php?f=20&t=59761

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by mandamexico » Thu Apr 19, 2012 2:26 pm

If the solution from the post above doesnt work for you try this one. You said it only shows five specifically and the reference to that number is in the file mentioned below.

Folder path via ftp: catalog/controller/product/product.php

The code that needs modification is in the file thats in bold.

Modify this line:

Code: Select all

		$results = $this->model_catalog_review->getReviewsByProductId($this->request->get['product_id'], ($page - 1) * 5, 5);
Good luck!

- Christian

My Extensions

OpenCart Developer (OCD) Tools

Donate - If I ever helped you.


User avatar
Active Member

Posts

Joined
Mon Jun 29, 2009 10:14 am
Location - Los Angeles, CA

Post by Avvici » Thu Apr 19, 2012 2:58 pm

mandamexico wrote:If the solution from the post above doesnt work for you try this one. You said it only shows five specifically and the reference to that number is in the file mentioned below.

Folder path via ftp: catalog/controller/product/product.php

The code that needs modification is in the file thats in bold.

Modify this line:

Code: Select all

		$results = $this->model_catalog_review->getReviewsByProductId($this->request->get['product_id'], ($page - 1) * 5, 5);
Good luck!

- Christian
Thanks dude. I forgot about the control call lol. O0

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by mandamexico » Fri Apr 20, 2012 2:06 am

Not a problem ;D

My Extensions

OpenCart Developer (OCD) Tools

Donate - If I ever helped you.


User avatar
Active Member

Posts

Joined
Mon Jun 29, 2009 10:14 am
Location - Los Angeles, CA
Who is online

Users browsing this forum: No registered users and 41 guests