robotzki Posted April 10, 2015 Share Posted April 10, 2015 Hi, I have an issue with my layered navigation module. The problem is with the color attributes, the actual module which is hooked on the left column in my products pages shows the available Nr. of products per color just fine, but when you choose a color it shows 0 products, sometimes if you press it again it might show the products for this color, but will than change the default grid view and but most of the time it wont show any products at all! I have also tried that the module can show products for some colors and not others.... There is something interfering with this specific attribute, as my other attributes like price and size work just fine. Any help here would be greatly appreciated!! Link to comment Share on other sites More sharing options...
robotzki Posted April 10, 2015 Author Share Posted April 10, 2015 Little update: i think the issue lies somewhere with the added # in the friendly urls and the grid view settings (maybe in product-list-tpl?).... http://trendmonster.dk/3-dame#/farver-off_white-blaa - when using the layered nav. module it uses this url for the 2 colors (off white, blaa) - This messes with my grid view settings and only works sometimes. However, if i remove the # from above url, and hit enter. The filter works perfectly and shows my products in correct grid view. although, url gets changed to : http://trendmonster.dk/3-dame?selected_filters=farver-off_white-blaa I am unfortunately no prestashop expert, so any suggestions would be very helpful! Link to comment Share on other sites More sharing options...
robotzki Posted April 12, 2015 Author Share Posted April 12, 2015 Anyone? Link to comment Share on other sites More sharing options...
sandipchandela Posted April 12, 2015 Share Posted April 12, 2015 Anyone? Do this -> 1) Under Layered Navigation Block - Click on Four buttons available in Indexes and Caches section. ( Index missing, rebuild entire index, attribute index ) 2) Clear cache If this work not then let me know following this. Preferences -> SEO urls. What you have specified for following field ? 1) Route to category which has the "selected_filter" attribute for the "Layered Navigation" (blocklayered) module : -> 2) Any jquery conflicts to your category listing. Link to comment Share on other sites More sharing options...
robotzki Posted April 12, 2015 Author Share Posted April 12, 2015 Hi, i have tried indexing and clearing cache several times, but that is not the solution. under SEO & URLs it states the following now: Route to category which has the "selected_filter" attribute for the "Layered Navigation" (blocklayered) module {id}-{rewrite}{/:selected_filters} Sorry, i am a bit of a newbeginner to this. Where would i find the error log to find jquery conflicts. I have tried turning debug mode on, but there seem to be no errors coming up on the page, also there ere no errors in the log in backoffice... Link to comment Share on other sites More sharing options...
sandipchandela Posted April 12, 2015 Share Posted April 12, 2015 For checking any jquery conflicts, Just see following page. http://support.goodlayers.com/how-to-use-google-chrome-inspect-element-tool/ Link to comment Share on other sites More sharing options...
sandipchandela Posted April 12, 2015 Share Posted April 12, 2015 (edited) Have checked your site and found that there is error regarding j query. Try to uninstall Layered Navigation Block module and re install. It will work. Edited April 12, 2015 by sandipchandela (see edit history) Link to comment Share on other sites More sharing options...
robotzki Posted April 12, 2015 Author Share Posted April 12, 2015 Yes i can see the jquery errors, i have also tried to uninstall layered nav. nlock, and reinstall it, but same problem is unfortunately still there... Link to comment Share on other sites More sharing options...
sandipchandela Posted April 13, 2015 Share Posted April 13, 2015 Try to replace following file. themes/default-bootstrap/js/modules/blocklayered/blocklayered.js You can take file from github.. https://github.com/PrestaShop/blocklayered/blob/master/blocklayered.js Thanks Link to comment Share on other sites More sharing options...
robotzki Posted April 13, 2015 Author Share Posted April 13, 2015 Hi, so the problem still persists, but now a little differently. Btw. i am using a custom theme, so i replaced the js file in my custom theme folder instead.... It still gives an error when using the module and now it changes layout to 2 column grid for all filters, not only the color attribute filter.... http://i.imgur.com/XKkwViV.png Link to comment Share on other sites More sharing options...
sandipchandela Posted April 13, 2015 Share Posted April 13, 2015 I will attach the latest one. Its better to try include this one. jquery.txt Link to comment Share on other sites More sharing options...
robotzki Posted April 13, 2015 Author Share Posted April 13, 2015 Could you please explain where the jquery.txt file goes in prestashop isntallation? Link to comment Share on other sites More sharing options...
sandipchandela Posted April 13, 2015 Share Posted April 13, 2015 Sorry for havn't specified the file name. Replace this - blocklayered.js \themes\default-bootstrap\js\modules\blocklayered Link to comment Share on other sites More sharing options...
robotzki Posted April 19, 2015 Author Share Posted April 19, 2015 Hi, sorry for the late reply. I tried to replace the latest blocklayered.js aswell, but still no difference... Any other suggestions? Thanks 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