Important

Okay
  Print

Landofcoder Infinate scroll not working with layered navigation extension

The problem because a extension (example: custom layered navigation extension) on your site are using ajax calling with response data is JSON format, however our module are using ajax response data HTML format. So when scroll down bottom, no new products show on.

Please follow the guide to resolve it.

1. Download the file https://landofcoder.ticksy.com/?dl=1183138

Then upload it into the folder "/app/code/Lof/AjaxScroll/view/frontend/web/js/" it will replace the file "script.js"

You should upload it into pub static folder of your site too.

2. Edit the file .htaccess on webroot folder. Then add new code as this:



<if "%{QUERY_STRING}=~/.*ajaxscroll=1.*/">
        RequestHeader unset X-Requested-With
</if>