jeremiash Posted January 1, 2011 Share Posted January 1, 2011 Hello,I want to make a module like featured products, which shows only products of exact id. How to change the code to show only that products?Thanks Link to comment Share on other sites More sharing options...
CYTechnologies Posted January 2, 2011 Share Posted January 2, 2011 Hello,What I would do is create a unique category for 'special / featured' products. Next, if you open the file: 'modules/homefeatured/homefeatured.php' and scroll down to about to line 70 you will see this piece of code: $category = new Category(1); Change "1" to the category ID you created. See if that works for you Link to comment Share on other sites More sharing options...
jeremiash Posted January 2, 2011 Author Share Posted January 2, 2011 Thank You... that works great,I'm very new to prestashop, that's why i'm asking some simple Q. Link to comment Share on other sites More sharing options...
CYTechnologies Posted January 2, 2011 Share Posted January 2, 2011 Glad it worked, everyone has to start somewhere! Keep asking and keep learning, always a good thing. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now