Ruscle Posted March 29, 2011 Share Posted March 29, 2011 Hi ,I am looking to add an option to the product list .What i want is to be able to choose different views for the products , next to the sort by i want a button to say Grid view or List view so the customer has the option of how they can view my products If you guys can help please Link to comment Share on other sites More sharing options...
vietnam Posted March 29, 2011 Share Posted March 29, 2011 http://www.prestashop.com/forums/viewthread/99248/integration/change_subcategory_view_to_grids_instead_of_list_v1_dot_4You will have Grid View, but not a option to select between. If it`s that what you want then edit your topic and add [sOLVED] Link to comment Share on other sites More sharing options...
Ruscle Posted March 29, 2011 Author Share Posted March 29, 2011 No sorry thanks though for your help , I am looking for a button to be able to switch between list and grid for the customers benefit please help Link to comment Share on other sites More sharing options...
Nuvish Posted April 12, 2011 Share Posted April 12, 2011 I need the same thing.2 buttons on the page,one to display grid view and another to display list view.have you found a solution to this?please help.. Link to comment Share on other sites More sharing options...
Nuvish Posted April 13, 2011 Share Posted April 13, 2011 Iv tried adding jquery to the product-list page.ive added the 2 necessary buttons,and it works..It switches the view correctly.but the thing is that,i lose the view when i change page on the pagination.I guess thats not the correct way to do it then..no one ever needed that function? :S Link to comment Share on other sites More sharing options...
PS User Posted April 17, 2011 Share Posted April 17, 2011 Does it work on version 1.3.6? Or Any version 1.3.x?Thanks Link to comment Share on other sites More sharing options...
Nuvish Posted April 18, 2011 Share Posted April 18, 2011 Its the product-list.tpl that displays information about the products..Can i know from where the information comes from?i mean,from which php page?I tried looking outside the theme directory to find product.php or something.only to find this : require(dirname(__FILE__).'/config/config.inc.php'); ControllerFactory::getController('ProductController')->run(); Link to comment Share on other sites More sharing options...
Nuvish Posted April 20, 2011 Share Posted April 20, 2011 Thanks a lot..Ive figured out that in this case,the files needed are category.tpl ( which includes product-list.tpl ) and category.php which in turns calls CategoryController.php for the php processing. Link to comment Share on other sites More sharing options...
[email protected] Posted September 9, 2011 Share Posted September 9, 2011 Hi thanks i could find the similar need for me also there should be two option links so that user can switch either to GRID view or LIST when he is viewing the products this makes lot of sense please if anyone has developed can share this it will be of great help Thanks ANil 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