blazk Posted November 2, 2015 Share Posted November 2, 2015 So I want to display all products on home page. Now I only have tab with new products. I want to remove tab and just display all products on home page under the image. I haven't found anything useful so far I will still be looking but if someone have any tips or solution for that please let me know. Link to comment Share on other sites More sharing options...
NemoPS Posted November 2, 2015 Share Posted November 2, 2015 Create a module that hooks to the homepage tabs: http://nemops.com/prestashop-new-homepage-tabs/Or uses displayHome, as you prefer.Then use Product::getProducts($id_lang, $start, $limit, $order_by, $order_way) with the proper variables, and return a template like product-list.tpl 1 Link to comment Share on other sites More sharing options...
blazk Posted November 2, 2015 Author Share Posted November 2, 2015 Create a module that hooks to the homepage tabs: http://nemops.com/prestashop-new-homepage-tabs/ Or uses displayHome, as you prefer. Then use Product::getProducts($id_lang, $start, $limit, $order_by, $order_way) with the proper variables, and return a template like product-list.tpl What do you mean or use diplayHome? Can I do this in back office or nah? Because I don't want to make some mistakes when making new code right.. Link to comment Share on other sites More sharing options...
NemoPS Posted November 4, 2015 Share Posted November 4, 2015 Nope, you have to code one. Link to comment Share on other sites More sharing options...
blazk Posted November 4, 2015 Author Share Posted November 4, 2015 Nope, you have to code one. I have done it like the tutorial says. And it didn't work. Didn't show anything new. Maybe I forgot something? But tutorial is not friendly I had no idea whet to do under 2nd point.. Link to comment Share on other sites More sharing options...
NemoPS Posted November 4, 2015 Share Posted November 4, 2015 Did you first learn how to create a module? http://doc.prestashop.com/display/PS15/Creating+a+PrestaShop+moduleOtherwise it's useless to try to follow it 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