I have been looking for a quick fix on the net to get the Most Viewed Products report to show top 100 products viewed, instead of only top 5 viewed. Can't seem to find anything on the net to solve this.

  • Matt, are you working backend ya frontend??
    – Amit Bera
    Commented Jul 8, 2014 at 4:34
  • You did not clarify your question (frontend or backend) so you got answers for frontend & backend below. Please be more specific next time and set the answer that helped you as "accepted". Commented Feb 14, 2015 at 11:57

2 Answers 2


Login to Admin and go to System > Configuration > Catalog (Left Side) > Recently Viewed/Compared Products

Their See the value Default Recently Viewed Products Count and if it is 5 change what ever you want.


Go to app/code/core/Mage/Reports/Model/Resource/Report/Product/Viewed/Collection.php

Copy the file to app/code/local/Mage/Reports/Model/Resource/Report/Product/Viewed/Collection.php

Change this line (#39):

protected $_ratingLimit        = 5;

to protected $_ratingLimit = 100;

  • Copying whole files to app/code/local is not considered best pracitse. It's better to make a proper rewrite in this case. Commented Feb 14, 2015 at 11:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.