hgati/module-hide-empty-categories

This extension hides the empty categories from navigation menu.

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 2

Type:magento2-module

dev-master 2024-04-24 15:44 UTC

This package is auto-updated.

Last update: 2024-04-24 15:44:21 UTC


README

Installation

composer require hgati/module-hide-empty-categories:dev-master
bin/magento setup:upgrade

Enable / Deisable by Magento CLI Commnad

cd /var/www/magento
# Enable
bin/magento config:set hgati_hide_empty_categories/general/enable 1
# Disable (defalt value is disabled)
bin/magento config:set hgati_hide_empty_categories/general/enable 0
  • Performance drastically deteriorates when dealing with a large number, around 400, of categories because each category needs to be processed individually in a loop.