mse-sv3n/m2-hide-empty-categories
This extension hides the empty categories from navigation men.
Maintainers
Package info
github.com/sreichel/magento2-StackExchange_HideEmptyCategories
Type:magento2-module
pkg:composer/mse-sv3n/m2-hide-empty-categories
Requires
- php: >= 7.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
OSL-3.0 5199cdd593e1828ed7e9d20851ebffb8f898d40c
- Sven Reichel <github-sr.woop@hotmail.com>
This package is auto-updated.
Last update: 2026-06-29 02:12:49 UTC
README
👁 Latest Stable Version
👁 Total Downloads
👁 Latest Unstable Version
👁 License
👁 PHP Version Require
👁 Support
I'm in the final stages of setting up my magento 2 store. In the backend I have a process using the API to keep stock information up to date. Sometimes the stock drops to 0 for every item in a category, making it empty. If you go to one of those categories you get:
We can't find products matching the selection.This makes sense, but I was wondering if there was a may to have magento hide the category altogether if the products in the category have no stock.
Source: https://magento.stackexchange.com/questions/229481/how-to-hide-empty-categories-in-magento2
Installation
composer require mse-sv3n/m2-hide-empty-categories
bin/magento setup:upgrade
Support
If you have any issues with this extension, open an issue on GitHub.
Contribution
Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.
