PHPackages                             bangerkuwranger/magento-2-1-3-category-limit-bug-workaround - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bangerkuwranger/magento-2-1-3-category-limit-bug-workaround

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

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

1.0.1(9y ago)1414.0k3[2 issues](https://github.com/bangerkuwranger/Magento-2.1.3-500-Product-Category-Limit-Bug-Workaround/issues)MITPHPPHP ~5.5.0|~5.6.0|~7.0.0

Since Apr 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/bangerkuwranger/Magento-2.1.3-500-Product-Category-Limit-Bug-Workaround)[ Packagist](https://packagist.org/packages/bangerkuwranger/magento-2-1-3-category-limit-bug-workaround)[ RSS](/packages/bangerkuwranger-magento-2-1-3-category-limit-bug-workaround/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Magento-2.1.3-500-Product-Category-Limit-Bug-Workaround
=======================================================

[](#magento-213-500-product-category-limit-bug-workaround)

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
=======

[](#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
---------

[](#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](https://github.com/magento/magento2/issues/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](https://github.com/magento/magento2/issues/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)

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.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3321d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/854f3c149da70ca3f31efaeb189016eb8b83386ca06a68e825496c7e610d4513?d=identicon)[bangerkuwranger](/maintainers/bangerkuwranger)

### Embed Badge

![Health badge](/badges/bangerkuwranger-magento-2-1-3-category-limit-bug-workaround/health.svg)

```
[![Health](https://phpackages.com/badges/bangerkuwranger-magento-2-1-3-category-limit-bug-workaround/health.svg)](https://phpackages.com/packages/bangerkuwranger-magento-2-1-3-category-limit-bug-workaround)
```

###  Alternatives

[nsulistiyawan/bpjs

Wrapper for BPJS Indonesia

425.2k](/packages/nsulistiyawan-bpjs)[wujunze/laravel-id-generate

Laravel package to generate and to validate a UUID according to the RFC 4122 standard. Only support for version 1, 3, 4 and 5 UUID are built-in. and generate number id, generate primary key

134.4k](/packages/wujunze-laravel-id-generate)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
