I'm trying to increase the report limit of the Reports > Product > Bestsellers and Reports > Customers > Customers by order total. Default is set to 5 max.

Now I thought this was done by editing the $_ratingLimit value from (5) to (whatever) (Mage_Sales_Model_Resource_Report_Bestsellers_Collection), but this doesn't work for me.

Anyone have the quick fix?



You can change it in: /app/code/core/Mage/Sales/Model/Resource/Report/Bestsellers/Collection.php

After making the change (or after creating the new file in /app/code/local), make sure to do the following:

  • Re-run the compilation process (System -> Tools -> Compilation)
  • Clear Cache
  • Refresh Statistics (Reports -> Refresh Statistics)

Worked for me on CE1.7

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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