Before you continue, ensure you meet the following requirements:
- You have installed magento2
- You are using a Linux or Mac OS machine. Windows is not currently supported. Install magento2-instagram extension
Run the following commands in Magento 2 root folder:
composer require magepow/infinitescroll
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
- extract file from archive
- deploy file into Magento2 folder
app/code/Magepow/Infinitescroll
. Run following commands
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
Login to magento admin, choose stores->configuration->magepow->infinitescroll
Select yes
to enable the module
In stores->configuration->magepow->infinitescroll
we set:
- Delay ms : Delay time for the scroll down.
- Content : Select the elements you want to be loaded more
- Pagination: Select the page number to config load more
- Next : Select the link for the next page
- Item : Select for the class name that you want to config load more
- Loading text : Place any text you want when loading the page
- Done text : Done text using when the scroll reachs the bottom
- Loading Image placeholder : Loaded more icon
- Load More threshold : When this page number is reached, a button to load more products will be shown instead of continue loading products automatically with the scroll
- Load More button text: Set an offset before page end from which the content will start to load
Run the following command:
php bin/magento cache:clean
If this project help you reduce time to develop, you can give me a cup of coffee :)
Free Extensions List
Premium Extensions List
Featured Magento Themes
Featured Magento Services