edsmiths Posted December 16, 2013 Share Posted December 16, 2013 (edited) Hello all, I'm using a theme with an option to order products by list and grid. I'm trying to disable the grid view and keep only the product list. I've following the easy away and been around the css to disable the image selector but without any success. Can I do this only in the css or I need to change the tpl file? There's a link to the test site: http://bit.ly/1988Mnr Edit: 1.5.2 and 1.5.5 engine Thanks in advance, Ed Edited December 17, 2013 by vekia (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 16, 2013 Share Posted December 16, 2013 you attached link to product page, and talk about product list. you mean this: ? Link to comment Share on other sites More sharing options...
edsmiths Posted December 16, 2013 Author Share Posted December 16, 2013 (edited) The link is to a product list page (within a category). I need to disable the grid view (like in your example) and keep the default list view. If I remove this selector (image below) and since the list view is the default one, a user cannot change to grid view, is this correct? Edited December 16, 2013 by edsmiths (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted December 16, 2013 Share Posted December 16, 2013 now it points to cateogry page, before it was link to product page to different website. can you pease show contents of product-sort.tpl file ? (it's in your theme directory) Link to comment Share on other sites More sharing options...
edsmiths Posted December 16, 2013 Author Share Posted December 16, 2013 Thanks for your time vekia, There's the code: http://pastebin.com/G7sssnqX (sorry, don't know how to embed it in thread). I've just commented line 46 and it seems to work, is that it? Link to comment Share on other sites More sharing options...
vekia Posted December 17, 2013 Share Posted December 17, 2013 yes! definitely line 46 instead of <li id="product_view_grid"></li> use {* <li id="product_view_grid"></li> *} Link to comment Share on other sites More sharing options...
edsmiths Posted December 17, 2013 Author Share Posted December 17, 2013 Thanks vekia, Thread solved. Link to comment Share on other sites More sharing options...
vekia Posted December 17, 2013 Share Posted December 17, 2013 thank you so much for confirmation that everything works now i marked topic as [solved] with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts