magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Shop By Category Filter Visible On Non-Anchor Categories

Open kestraly opened this issue 5 months ago • 9 comments

Preconditions and environment

  • Magento version 2.4.x - All versions

Steps to reproduce

  1. Create a category with a sub category. Set Is Anchor - No for both
  2. Navigate to admin > Stores > Configuration > Catalog - Show Category Filter - No
  3. Navigate to frontend > Go to parent category and check for Shop By category filter

Expected result

No category layered navigation filter showing

Actual result

Category layered navigation filter is showing

Additional information

On parent category, set "is anchor" - Yes - Category Filter is hidden

Ideally the category shop by filter should not show.

catalog_category_view_type_default.xml adds block name="catalog.leftnav". I do not believe this block should be in the default category

Release note

No response

Triage and priority

  • [ ] Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • [ ] Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • [X] Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • [ ] Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • [ ] Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

kestraly avatar Jan 24 '24 21:01 kestraly