Arh Posted January 28, 2014 Share Posted January 28, 2014 (edited) I am using 1.5.6.1 I have activated "Bestsellers" and reduced the number showing up from 5 to 3 products in the blockbestsellers.php file, and 3 products are visible in FO. But when I click on "Show all bestsellers", I get the message: No bestsellers yet. How can I solve this problem ? Edited January 28, 2014 by Arh (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted January 29, 2014 Share Posted January 29, 2014 Do you actually have any order which was set to shipped or payment accepted? Try rebuilding smarty cache anyway (advanced parameters/performance) Link to comment Share on other sites More sharing options...
vekia Posted January 29, 2014 Share Posted January 29, 2014 if it will not work even after cache clear,check this topic: http://www.prestashop.com/forums/topic/284674-solvedtop-sellers-are-not-displaying/ Link to comment Share on other sites More sharing options...
Arh Posted January 29, 2014 Author Share Posted January 29, 2014 Do you actually have any order which was set to shipped or payment accepted? Try rebuilding smarty cache anyway (advanced parameters/performance) Yes, several orders are marked as Payment Accepted. Smarty Cache is cleared, but nothing happens. Link to comment Share on other sites More sharing options...
Arh Posted January 29, 2014 Author Share Posted January 29, 2014 if it will not work even after cache clear,check this topic: http://www.prestashop.com/forums/topic/284674-solvedtop-sellers-are-not-displaying/ Cache clear OK. I have red the topic you suggest and edited "productsale.php" but it did not help. Which files should I try to replace ? Are there anything else I can try ? Link to comment Share on other sites More sharing options...
Arh Posted January 29, 2014 Author Share Posted January 29, 2014 (edited) I have downloaded 1.5.6.1 again and installed it under a sub-domain, and no files are changed. I have click "Payment accepted" on the pre-installed order from John Doe. The item "iPod touch" are showing up as a bestseller. I than click on "Show all bestsellers" and I still get the same message "No bestsellers yet". I am using the Norwegian edition. I have edited the file classes/productsale.php as suggested. That did not help. What to do next ? Edited January 29, 2014 by Arh (see edit history) Link to comment Share on other sites More sharing options...
Arh Posted February 11, 2014 Author Share Posted February 11, 2014 1.5.6.1 The problem is solved. Why ? I am not sure. I have tried allmost everything and finally I did the following: 1. Replaced the hole catalog "Classes". Used the "Classes" from 1.5.6.2. (From 1.5.6.1 didn`t work). 2. Cleared Cache 3. Changed the status for an order. (Changed from Paymant accepted to Delivered). Link to comment Share on other sites More sharing options...
NemoPS Posted February 11, 2014 Share Posted February 11, 2014 Maybe the simple payment accepted didn't have the 'set the order as valid' check Link to comment Share on other sites More sharing options...
Arh Posted February 11, 2014 Author Share Posted February 11, 2014 Yes, maybe. In fact all catalogs, one by one, were replaced in 1.5.6.1 with new catalogs from 1.5.6.1. Than i started over again with catalogs from 1.5.6.2, it suddenly worked out. I finally changed the number of Bestsellers to 8 in BestSalesController.php in line 40. If anyone is interested, it now goes like this: 'products' => ProductSale::getBestSales($this->context->language->id, $this->p - 1, 8, $this->orderBy, $this->orderWay), Link to comment Share on other sites More sharing options...
Recommended Posts