A Magento 2 extension that loads additional products on category and search pages without navigating to the next page., (*1)
Installation
Install this extension with Composer:, (*2)
composer require meanbee/magento2-infinitescroll
Usage
The extension is enabled by default and has no configuration options. Once installed (and cache is flushed), it will
replace the pager at the bottom of category and search pages with a "View More" button., (*3)
The extension replaces the Magento_Catalog::product/list.phtml
template with its own, so any changes to the product
list HTML need to be made in Meanbee_InfiniteScroll::product/list.phtml
., (*4)
Development
Docker Environment
To configure a Docker development environment, run, (*5)
cd dev/ \
&& docker-compose run --rm cli magento-extension-installer Meanbee_InfiniteScroll \
&& docker-compose up -d
The configured environment will be available on https://m2-meanbee-infinitescroll.docker, (*6)