A disabled category still appears in Magento 2 Mega Menu. What should you check?

2 min read

Branched blue rails on a gold surface. One slot is empty and its gold tile rests beside it.

After disabling a category, its name still appears in the header. Open the affected store view, record the category ID from Admin, and copy the menu link. The same label can point to another category or to a manually configured URL.

Check the ID, store view, and category branch

In Admin, check the effective Enable Category and Include in Menu settings and the store’s root category. In Kowal Mega Menu 0.1.16, the automatic tree reads active categories included in navigation and follows visible parents. An active category hidden from automatic navigation can still receive visits at its known URL. Adobe documentation on hidden categories

Find the source of the individual link

Check the additional links for that store view. A Category link gets the name and URL of an active category in the current tree even when Include in Menu is off. A Custom link displays the saved URL. Compare it with what the header renders. Kowal Mega Menu documentation

Trace one link visible in the menu
ObservationWhat to check
Same name, different URLConfirm the ID, store-view URL, and store root category.
Active category with Include in Menu offCheck whether an additional Category link points to its ID.
Category disabled, same URL still in the menuCheck for a Custom entry with that URL and compare it with the theme header.
Current settings do not explain the linkCompare the cached HTML with the HTML after refreshing the page cache in a test environment.

Confirm the result after the change

Open the same page in the same store view and inspect the link again. Also check the header on a phone, where the theme renders the navigation. Record beside the ID whether the link has gone or points to the intended destination.

Kowal Mega Menu for Magento 2 · Plan categories and test navigation

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)