KoalaBear Posted May 22, 2017 Share Posted May 22, 2017 Hello, I am using Prestashop 1.6 and want to remove the AJAX navigation. What I mean: For example on some categories my pagination, sorting, etc. are handled with AJAX and have this structure: site.com/category#/page-2 Other are handled by parameters and act on preload with this structure: site.com/category?p=2 I want all of my categories to use the second option for pagination, sorting, filters, etc. I think it has something to do with the "Layered navigation block" module, but I am not quite sure. Any help will be much appreciated. Link to comment Share on other sites More sharing options...
NemoPS Posted May 22, 2017 Share Posted May 22, 2017 You have to disable the layered navigation module, from the modules section Link to comment Share on other sites More sharing options...
KoalaBear Posted May 22, 2017 Author Share Posted May 22, 2017 You have to disable the layered navigation module, from the modules section Hello, thank you for your quick answer. i still want to use the module. I want to remove the AJAX pagination without disabling the module. Link to comment Share on other sites More sharing options...
SmartPlugs Posted May 23, 2017 Share Posted May 23, 2017 Hi, As far as i know layered navigation module is designed to work in AJAX mode only, unfortunatly... Link to comment Share on other sites More sharing options...
NemoPS Posted May 27, 2017 Share Posted May 27, 2017 Indeed, it's gonna be very hard to remove the ajax pagination only, you can use another module if that's a major concern for you Link to comment Share on other sites More sharing options...
Andrejro Posted February 14, 2018 Share Posted February 14, 2018 For Prestashop 1.7 solution is pretty simple just go to your theme folder, find template \templates\_partials\pagination.tpl and rename class js-search-link in it. For example find string js-search-link and replace it to js-search-link2 1 Link to comment Share on other sites More sharing options...
Galomen Posted October 26, 2019 Share Posted October 26, 2019 On 2/15/2018 at 2:08 AM, Andrejro said: For Prestashop 1.7 solution is pretty simple just go to your theme folder, find template \templates\_partials\pagination.tpl and rename class js-search-link in it. For example find string js-search-link and replace it to js-search-link2 Thank you very much helped. Works!! ps 1.7.6.1 Link to comment Share on other sites More sharing options...
Cocomo Posted February 13, 2021 Share Posted February 13, 2021 Super ! Thanks, it works Link to comment Share on other sites More sharing options...
zakraoui.ahmed Posted December 22, 2021 Share Posted December 22, 2021 It works; when i press a pagination link now; the page is refreshed instead ajax loading (default); wich helped me to prevent no loading js due the ajax loading. Many thanks bro ^^ From Tunisia Link to comment Share on other sites More sharing options...
andtrx Posted May 3, 2022 Share Posted May 3, 2022 (edited) Any idea how we can do this for prestashop 1.6? I looked into pagination.tpl but cant find the above class. Also disabling the layered module is not an option. Thanks Edited May 3, 2022 by andtrx (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