Jump to content
KoalaBear

How to remove AJAX navigation

Recommended Posts

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.

Share this post


Link to post
Share on other sites

You have to disable the layered navigation module, from the modules section

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Hi,

 

As far as i know layered navigation module is designed to work in AJAX mode only, unfortunatly...

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

  • Thanks 1

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More