kowal.info

Category Menu

Product page

Layered Navigation Suite — kowal.co

Description

Display a category tree beside a product listing. The tree can follow the current results while keeping parent branches available for navigation.

For whom

For catalog managers who want shoppers to move between categories while browsing a filtered listing.

Features

  • Choose a flyout, accordion, mega menu or local two-level tree.
  • Limit the depth of the tree.
  • Show only branches relevant to the current results.

Installation

This component is included in Layered Navigation Suite. Follow the suite installation instructions.

Configuration

  1. Open Stores → Configuration → Kowal → Layered Navigation Suite and enable the suite.
  2. In Category Menu, turn on Enable Category Sidebar Menu, choose View Mode and set Max Depth.
  3. Enable Restrict Category Tree to Filtered Products if the menu should follow the product selection.

Requirements / notes

A category link opens the category’s native URL. The tree can also appear on search, Shop By and special-filter pages.

FAQ

Why is a parent category still visible after filtering?

The tree keeps the ancestors of matching categories so shoppers can reach the relevant branches.

Verify the installation

bin/magento module:status Kowal_LayeredNavigationCategoryMenu

Open a category containing products from several branches. With the restriction enabled, apply a filter that matches only one branch and check the remaining links. Clear the filter and compare the tree.