bangerkuwranger/magento-2-1-3-category-limit-bug-workaround
Composer 安装命令:
composer require bangerkuwranger/magento-2-1-3-category-limit-bug-workaround
包简介
Workaround for bug from v2.1.3 that arbitrarily limits indexed products in category to 500
README 文档
README
Magento 2.1.3 updated the ranging in category product indexing, and inadvertently limited indexed products in a category to 500. :-( However, patching a single function can undo this limit until an official bugfix is released... which is what this does. This issue persists through at least Magento 2.1.6, although there are rumblings it'll be fixed in 2.1.7. This workaround MAY have performance implications, as the ranging is supposed to chunk large category requests to make them more performant. Use at your own risk.
WARNING
I rushed out v1.0.0, and it should not be used... installing it will cause fatal errors. 1.0.1 actually works.
Reference
This issue is referenced in a lot of places, but working code was written (or adapted by) gclift in one of at least two open issues in GitHub to address the bug. (Issue 8681). The second issue appears to be a report that Magento is using to address the issue internally, and includes a description of the patch needed for the workaround by pravalitera. (Issue 8018). This just exists to make it easier for folks using Composer to include (and later remove) a workaround for this issue until it is patched in core without writing their own identical module or dumping stuff in /app. It's just backwards laziness.
Installation
Installation is available via composer. The package name is bangerkuwranger/magento-2-1-3-category-limit-bug-workaround. Just run these commands at your Magento root:
composer require bangerkuwranger/magento-2-1-3-category-limit-bug-workaround
php bin/magento module:enable Bangerkuwranger_Categorylimitbugfix
php bin/magento setup:upgrade
php bin/magento setup:di:compile
Reindex and flush the cache, and your categories o' many products should appear at full strength on the front end.
bangerkuwranger/magento-2-1-3-category-limit-bug-workaround 适用场景与选型建议
bangerkuwranger/magento-2-1-3-category-limit-bug-workaround 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 14.02k 次下载、GitHub Stars 达 14, 最近一次更新时间为 2017 年 04 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 bangerkuwranger/magento-2-1-3-category-limit-bug-workaround 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bangerkuwranger/magento-2-1-3-category-limit-bug-workaround 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 14.02k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-13