juanmlg Posted August 5, 2013 Share Posted August 5, 2013 When I go to mydomain.com/best-sales.php prestashop not show best sellers product, it show others products and duplicates, I have overwrited best-sales.php, best-sales.tpl and BestSalesController.php but nothing happened. My version is 1.5.3.1 Any help? Thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted August 5, 2013 Share Posted August 5, 2013 Hi, Actually, do you mean this page: mydomain.com/index.php?controller=best-sales ? Cause that's the structure presta 1.5 uses. How did you override the controllers? There is a chance you are calling the initcontent function 2 times Link to comment Share on other sites More sharing options...
vekia Posted August 5, 2013 Share Posted August 5, 2013 you said that you overrided these files, so what kind of changes you applied for these files? Link to comment Share on other sites More sharing options...
juanmlg Posted August 5, 2013 Author Share Posted August 5, 2013 I go to /index.php?controller=best-sales and the products showed aren't best seller products and the products are duplicate. I overwrite with the default prestashop files but didn't solve the problem. I can pm you my website if you want Thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted August 5, 2013 Share Posted August 5, 2013 I second vekia, which kind of override did you use? Again, I think you modified something the wrong way, and furthermore you're calling the initContent() method 2 times Link to comment Share on other sites More sharing options...
juanmlg Posted August 6, 2013 Author Share Posted August 6, 2013 I have only override the files with the default prestashop files. I think I have modified nothing. Where I can check de initContent calling? Thanks! Link to comment Share on other sites More sharing options...
NemoPS Posted August 6, 2013 Share Posted August 6, 2013 Uh, I don't get it actually, why did you override by copying the original files? You can simply remove the overrides in this case Link to comment Share on other sites More sharing options...
Recommended Posts