magepow/infinitescroll
Composer 安装命令:
composer require magepow/infinitescroll
包简介
Infinite scroll for magento 2 automatically loads product catalog without reloading the page.
README 文档
README
Magento 2 Infinite Scroll (Magepow Infinite Scroll extension Free)
Infinite scroll for Magento 2 automatically loads product catalog without reloading the page. Your customers will be pleasantly surprised with supportive navigation and high performance of your web store.
See more information:
Highlight Features
-
Automatically load content and images in just one page.
-
Visitors can see all in just one page
-
Display load more chart to help users see more products.
-
Reduce the request load to the server, increase website speed
-
Increase professional animation effects for Magento website.
-
Support to increase website ranking on search engines
-
Responsive
How to use Infinite Scroll extension
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 Magento 2 Infinite Scroll extension
Step 1 : Download Magento 2 Infinitescroll Extension
Install via composer (recommend)
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
Step 2: User guide
Key features of Magento 2 Infinite scroll Extension:
- Ajax scroll without interruption.
- Freely scroll down & See what page of the catalog they're on.
- Automatically loading pages.
- Show Loading Button.
- Possibility to give/ share links to a certain positions.
- Easy to customize.
- Similar technique as seen on Twitter, Facebook.
- Increase the conversion rate at your store.
- Easy to Change Button and Loading Text.
2.1. General configuration
Login to Magento admin > Stores > Configuration > Magepow > Infinitescroll > Enable > Choose Yes to enable the module.
In Stores > Configuration > Magepow > Infinitescroll we set:
- Delay (ms): Delay time for the scroll down, default 600.
- Content: Select for the elements that surrounds the items you will be loading more of (For Ex. = .classname/#id).
- Pagination: Select class, id for paging loaded more.
- Next: Select class, id for the link to to the next page.
- Item: Select for the class name that you want to config all items you will load more.
- Loading text: Place any text you want when loading the page.
- Done text: When the download is completed, the text you configured will appear.
- Loading Image placeholder: The icons you want are displayed while downloading more, you can change it arbitrarily or use Magento's default icons.
- 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: Configure the download button text. After you finish configuring, save and clear the cache. Run the following command:
php bin/magento cache:clean
2.2. Result
3. Events
- Refresh Infinite Scroll update with Ajax use code:
$('body').trigger('collectionUpdated');
Donation
If this project help you reduce time to develop, you can give me a cup of coffee :)
magepow/infinitescroll 适用场景与选型建议
magepow/infinitescroll 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 88.83k 次下载、GitHub Stars 达 17, 最近一次更新时间为 2020 年 08 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 magepow/infinitescroll 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 magepow/infinitescroll 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 88.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 35
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2020-08-28





