Jump to content

Featured Products / all products


Recommended Posts



I'm using "Featured Products on the homepage v0.9 by PrestaShop" to show products on Home Page.


It is possible to add X products there (random) from ALL my products in database, and not only the ones are attached to Home?


thanks for any help,


Link to comment
Share on other sites

  • 5 months later...
  • 2 weeks later...

This helps to change the category. Find the below code in homefeatured.php:

$category = new Category(1, Configuration::get('PS_LANG_DEFAULT'));


change it for example to

$category = new Category(2, Configuration::get('PS_LANG_DEFAULT'));


where the category id (can be found in your backend) is 2.


Edited by wzshop (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...