Ray UK Posted December 8, 2015 Share Posted December 8, 2015 (edited) Hi, It seems my jquery isnt working on category or my stores page. Ie, my block cart doesnt drop and ajax search doesnt work on category pages, and my map doesnt show on the stores page. Any ideas where to start looking ? Thanks Edited December 9, 2015 by MerseyRay (see edit history) Link to comment Share on other sites More sharing options...
SupportPS Posted December 8, 2015 Share Posted December 8, 2015 Hello. Some module in the left column prevents normal operation.I think this filter. Try to turn it off and check the operation. Link to comment Share on other sites More sharing options...
Ray UK Posted December 8, 2015 Author Share Posted December 8, 2015 just tried removing the layered nav filter from all hooks on category and problem still there. Plus the layered nav was never on my stores page. Ive also just noticed on the cart page that the addresses are not filled in ? This has all just happened at once. I can add address, but none are shown. If I view previous orders, the addresses are there And the "Tax identification" field has just appeared when it was never there before. Has to be a jquery thing this surely Cheers for looking Link to comment Share on other sites More sharing options...
Ray UK Posted December 8, 2015 Author Share Posted December 8, 2015 On my home page I noticed jquery commands are attached to the cart, these are not there on the category/stores pages. block cart isnt blocked off these pages hooks. Link to comment Share on other sites More sharing options...
Ray UK Posted December 8, 2015 Author Share Posted December 8, 2015 Ok I just quickly switched my theme from our xmax one and the problem vanished. so its in the theme folder somewhere Link to comment Share on other sites More sharing options...
Ray UK Posted December 8, 2015 Author Share Posted December 8, 2015 Its also stopped the dropdown on the menus working on the same pages... Strange that they work fine on: Homepage Product Page Dont work on: Category CMS my-account Stores Contact-Us Authentication Sitemap Link to comment Share on other sites More sharing options...
Ray UK Posted December 8, 2015 Author Share Posted December 8, 2015 Ive just tried copying the whole js and modules folder from default theme, and it didnt resolve the issue. so its not in them 2 folders Link to comment Share on other sites More sharing options...
razaro Posted December 8, 2015 Share Posted December 8, 2015 You have JavaScript error in global.js line 44 Uncaught ReferenceError: bindGrid is not defined it seams whole function is missing. You can comment out / delete that line as you seam do not want grid/list functionality. If you do code is in https://github.com/PrestaShop/PrestaShop/blob/1.6.1.x/themes/default-bootstrap/js/global.js#L241 Link to comment Share on other sites More sharing options...
Ray UK Posted December 9, 2015 Author Share Posted December 9, 2015 (edited) Thanks so much razaro, my function bindGrid was at line 41 in the global.js I removed the list/grid function a while ago and replaced with a mobile specific category.tpl so it show simliar to an app store. I find this better and think the default template should be like this My cache cant have refreshed properly as its been working for quite a while on my machines :/ What did you use to find that error? Cheers Ray Edited December 9, 2015 by MerseyRay (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted December 9, 2015 Share Posted December 9, 2015 (edited) glad it is solved. Error is showing in Chrome dev tools console tab. But probably in other browsers too. Edited December 9, 2015 by razaro (see edit history) 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