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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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