birchoff Posted September 17, 2013 Share Posted September 17, 2013 Hi with next problem I turn on the blocklayered module (filtering) in my presta 1.5.5 - template bought. When i try to choose the specific catogies/subcategories I can see just the main HOME category. I can't see else subcategories (there are 34 categories). I try to click the "show all" or + in category tree. Any link like show all, hide all etc. don't work.... I can choose just the Home category. In my second shop this module works fine 1.5.4 - else template, but bought too. I click to specyfic categories, the whole list of categories is shown, every link (show all, etc.) works great. I tried to overwrite files of this module (from folder modules/blocklayered) from good shop to shop with this module bug, but it didn't helped. Any idea? Where is the bug? Link to comment Share on other sites More sharing options...
birchoff Posted September 18, 2013 Author Share Posted September 18, 2013 I think problem is with file js/jquery/plugins/treeview-categories/jquery.treeview-categories.js - in chrome developer tools i can see some error with js code: Uncaught TypeError: Object #<Object> has no method 'apply' jquery.treeview-categories.js:110 settings.togglejquery.treeview-categories.js:110 (anonymous function)jquery.treeview-categories.js:44 e.extend.eachjquery-1.7.2.min.js:2 e.fn.e.eachjquery-1.7.2.min.js:2 $.extend.heightTogglejquery.treeview-categories.js:41 togglerjquery.treeview-categories.js:154 (anonymous function)jquery.treeview-categories.js:71 f.event.dispatchjquery-1.7.2.min.js:3 h.handle.ijquery-1.7.2.min.js:3 f.event.triggerjquery-1.7.2.min.js:3 (anonymous function)jquery-1.7.2.min.js:3 e.extend.eachjquery-1.7.2.min.js:2 e.fn.e.eachjquery-1.7.2.min.js:2 f.fn.extend.triggerjquery-1.7.2.min.js:3 openCategoryadmin-categories-tree.js:188 Code in jquery.treeview-categories.js:110 is: // apply event to hitarea this.find("div." + CLASSES.hitarea).click( toggler ); }, treeview: function(settings) { settings = $.extend({ cookieId: "treeview" }, settings); if ( settings.toggle ) { var callback = settings.toggle; settings.toggle = function() { return callback.apply($(this).parent()[0], arguments); }; } // factory for treecontroller i overwrite js files mentioned in error for files from shop without bug, but it didn't helped... Same error appears. HELP! Link to comment Share on other sites More sharing options...
birchoff Posted September 18, 2013 Author Share Posted September 18, 2013 Anyone? Link to comment Share on other sites More sharing options...
dmytro Posted September 19, 2013 Share Posted September 19, 2013 Hi, I have this problem too. how you fix it?? Link to comment Share on other sites More sharing options...
birchoff Posted September 19, 2013 Author Share Posted September 19, 2013 (edited) I haven't. I tried few things like overwriting files from good shop and else, but it didn't helped. Anyone have some ideas? I noticed that when i get few filter profiles (for every i select just home category), when i edit one of the previously created profiles, begin to change edit the other, at some moment, a list of all categories shows and I pick the one I want. But then, there is a comprehensive list of features (I have the 95, and there is a choice of only 75). Then I save the profile and it is ok (I can not choose only the features that do not appear, for unknown reasons). Interestingly, the category list is not displayed in a new window (as it should be) only appears on the list of features. In summary, there are either all the features, but do not appear categories. Or there are categories, but do not load all the features. Edited September 19, 2013 by birchoff (see edit history) Link to comment Share on other sites More sharing options...
dmytro Posted September 19, 2013 Share Posted September 19, 2013 Thanks for your response. I can not understand to why so. sorry for my english =) Link to comment Share on other sites More sharing options...
Biased Posted September 20, 2013 Share Posted September 20, 2013 You can find temporary solution right here: http://www.prestashop.com/forums/topic/272190-help-problem-with-layered-navigation-after-upgrading-to-1550/ Link to comment Share on other sites More sharing options...
dmytro Posted September 20, 2013 Share Posted September 20, 2013 Thank you, it work, but it not a good idea Link to comment Share on other sites More sharing options...
dmytro Posted September 21, 2013 Share Posted September 21, 2013 Hi I add this #layered-categories-selection #categories-treeview li ul{ display: block !important } #layered-categories-selection #categories-treeview li ul li .expandable-hitarea { background-position: -64px -25px !important; } to css/admin.css it not good idea to bat it work Link to comment Share on other sites More sharing options...
birchoff Posted September 21, 2013 Author Share Posted September 21, 2013 Topic SOLVED Templorary, but problem solved. I think permamently problem will disappear in next update. Link to comment Share on other sites More sharing options...
Saeid HamzeHzadeH Posted July 12, 2015 Share Posted July 12, 2015 Hello I am Iranian and I use the Google Translator I apologize for poor English. There is problem with the storage configuration in layered module But could save the settings...! How to do this: First Open Edition product page and choose the categories tab Now... by inspect element Select display categories code This section contain the following code: <Ul id = "associated-categories-tree" class = "tree"> ...... ..... .... </ Ul> Importing edit layered modules and code replaces the corresponding section on this page, please Now you have the relevant categories. <ul id="categories-treeview" class="tree"> ...... ..... .... </ul> Select Categories and Save...! Link to comment Share on other sites More sharing options...
Recommended Posts