warezliker Posted January 18, 2013 Share Posted January 18, 2013 (edited) Hi everyone! I have a problem with module blocklayered. It works great in default prestashop theme and one of free themes but it don't work with my custom theme, that I currently use. Works only one option: if I select option "Show products from subcategories" from BO - it shows all products from subcategories in main category. If I try to select manufacturer or price range from filter block in FO filter do not apply anything. I think that I damaged some code from category.tpl or some in theme's .js files. If someone can describe how I can debug or resolve my problem, please do this. I use prestashop 1.4.8.2 and blocklayered 1.8.5 Sorry for bad english. Thank you! Edited January 18, 2013 by warezliker (see edit history) Link to comment Share on other sites More sharing options...
Dh42 Posted January 18, 2013 Share Posted January 18, 2013 You can contact the theme maker and ask them for support. It is hard to diagnoe and fix a problem with a custom theme because we do not know how the theme was built. 1 Link to comment Share on other sites More sharing options...
warezliker Posted January 18, 2013 Author Share Posted January 18, 2013 I debug the problem succesfully. problem was in product-list.tpl. Default product-list.tpl have product_list tag and module blocklayered work with this tag. My theme can switch product view to list and grid view and have two tags - product_list_grid and product_list_list. I change variable product_list in blocklayered.js to product_list_grid and module works fine then products displayed as grid. As I understood I need to customize blocklayered.js for correct work with both tags. How I can do this? Link to comment Share on other sites More sharing options...
Recommended Posts