myedinu Posted June 1, 2012 Share Posted June 1, 2012 (edited) Hi, I was wondering is that a way that I can declare featured products to be displayed in more than one page?! For example 8 featured product's per one page in homepage. Mujedin Edited June 1, 2012 by myedinu (see edit history) Link to comment Share on other sites More sharing options...
fitgura Posted June 1, 2012 Share Posted June 1, 2012 Try to modules/positions / implant module and choose the featured products module and implant to (for example top of pages) I don't know I did not try it! Link to comment Share on other sites More sharing options...
myedinu Posted June 1, 2012 Author Share Posted June 1, 2012 I tried it didn't work! I saw some of prestashop templates that have this feature. Can anyone tell me how can I achieve that? Link to comment Share on other sites More sharing options...
codegrunt Posted June 1, 2012 Share Posted June 1, 2012 What you need to do is to modify the "homefeatured" module to include a method to handle the hook you want to use. For example, if you wanted to display the featured products via "{$HOOK_TOP}", you would add this method to "modules/homefeatured.php": function hookTop($params) { return $this->hookHome($params); } This assumes you also add the module to the hook you want in the backoffice. Cheers Link to comment Share on other sites More sharing options...
Dh42 Posted June 1, 2012 Share Posted June 1, 2012 Or if all you are running on the home area is the featured, you could just add the hook into your other template pages. 1 Link to comment Share on other sites More sharing options...
myedinu Posted June 2, 2012 Author Share Posted June 2, 2012 I tried it doesn't work! All I want is pagination of featured products in homepage?! Link to comment Share on other sites More sharing options...
codegrunt Posted June 2, 2012 Share Posted June 2, 2012 Ahh, did not understand the question. Basically you want the homepage to display "category.tpl" (i.e. the top level category). I do not have time to look right this second but that is what you what you need to do. It may be easiest just to do a redirect from the home page to a specific category. Link to comment Share on other sites More sharing options...
Recommended Posts