Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

A Magento 2 extension for infinitely scrolling catalog pages

License

Notifications You must be signed in to change notification settings

meanbee/magento2-infinitescroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meanbee_InfiniteScroll

A Magento 2 extension that loads additional products on category and search pages without navigating to the next page.

Installation

Install this extension with Composer:

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.

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.

Development

Docker Environment

To configure a Docker development environment, run

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