Skip to content

is_anchor is not working on store level if the categories are disabled on global level #33398

Closed
@amenk

Description

@amenk

Preconditions (*)

  1. Magento 2.4-develop (seen originally on 2.3.4-p2)
  2. Multi store setup

Steps to reproduce (*)

  1. Create category "Parent" in Admin store, deactivate it, is anchor = true
  2. Create category "Parent -> Child" In Admins store as a child, deactivate it, is anchor = true
  3. Now assign a product to The Child category
  4. Go to a store view, enable the Parent and the Child Categories on store level
  5. Check in the frontend: "Parent"

Expected result (*)

  1. "Parent" should show the Product on the frontend which is assigned to the child, because both a anchor categories.

Actual result (*)

  1. Parent category is empty

Workaround

  1. Enable both categories on the main store (0) as well, then the is anchor functionality works

Problem might be somewhere here:


Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • 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.
  • 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”.

Metadata

Metadata

Assignees

Labels

Area: CatalogComponent: CatalogIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: ready for confirmationPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions