znzn Posted December 29, 2015 Share Posted December 29, 2015 Hello, I am newbie to prestashop. I have added custom page by making a new front controller and its corresponding .tpl file. Its working fine. Now i want to display some products related to specific categories (already added through admin). how i can achieve this ?? any clues .. Link to comment Share on other sites More sharing options...
NemoPS Posted December 30, 2015 Share Posted December 30, 2015 You should instantiate a new category with the ID you want, then use $category->getProducts() With the proper parameters, and assign them to the template 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