natiaz Posted April 24, 2014 Share Posted April 24, 2014 Hi all, I'm newbie with Prestashop but I'm a programmer used to work with WP. I've customized the default theme and now I need to show all products in one of my CMS pages with the pagination that Prestashop provides and it would perfect if I could add a category filter using AJAX. Is there a way to show all my products? And if so, can I add the pagination and the filtering options? I've start digging in the controllers but I'm a bit lost. Thanks in regards. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted April 24, 2014 Share Posted April 24, 2014 Hi, there isn't standart functional for showing products on CMS page. So you need develop custom solution. controllers/front/CategoryController is uses for render category page with list of products. Into this folder you can find the CmsController that render cms pages content. Regards Link to comment Share on other sites More sharing options...
natiaz Posted April 25, 2014 Author Share Posted April 25, 2014 Hi, thanks for your answer. I was counting on a develop custom solution. I thought to modify the CmsController but the truth is that I'm not sure how to start. Looking into the CategoryController I don't know how to duplicate the list of products rendering in my CmsController Thanks for your help Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted April 25, 2014 Share Posted April 25, 2014 You need the strong PHP skill for doing this. You can learn more about Prestashop here: http://doc.prestashop.com/display/PS15/Developer+Guide http://module-presta.com/prestashop-1-5-developers-guide.html Link to comment Share on other sites More sharing options...
natiaz Posted April 28, 2014 Author Share Posted April 28, 2014 Thanks for your help. Finally I've develop a module to show all products, now I'm trying to add an ajax category filter. This filter is going to be more complicated but I'm still working. 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