Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Category Layered Navigation breaks when 2nd subcategory is added #5009

Closed
blizam opened this issue Jun 14, 2016 · 13 comments
Closed

Category Layered Navigation breaks when 2nd subcategory is added #5009

blizam opened this issue Jun 14, 2016 · 13 comments
Labels
bug report Component: Catalog Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@blizam
Copy link

blizam commented Jun 14, 2016

Mage 2.0.7

When I create a New Category and add products to it via the Category Products tab then the category layered navigation renders on the front end for that Category.

If I then add 1 Subcategory, assign it some products in the same manner... everything is fine... parent layered navigation for category working and single sub-category layered navigation working

As soon as I add a second subcategory, assign it some products, and save then the parent Category disappears from Layered Navigation all together. The subcategories' respective category layered navigation all works... if I route to the same Parent category view page I see both sub-cats in the Category layered navigation... but one level up that same Parent category is absent from the Category layered navigation... I have to delete the category (and child cats) and recreate it to get it back in Layered Navigation.

Yes, at all times Is Anchor = Yes

EDIT: I only have to delete both sub-cats to get the Parent cat to show back up in the Layered Navigation

@blizam
Copy link
Author

blizam commented Jun 14, 2016

EDIT: This shouldn't matter... I tried it with and without unique sub-category URL keys

My other variable is that my sub-category names aren't unique... they're the same names that other Parent categories have their subs named

Unique Parent Alpha
-subA
-subB

Unique Parent Beta
-subA
-subB

Unique Parent Gamma
-subA
-subB

@blizam
Copy link
Author

blizam commented Jun 14, 2016

In playing around with trying to get a workaround I found that if I create subA and subB cats first, each with assigned Products, THEN I create the Unique Parent cat, save and then drag in subA and subB to be beneath it in the tree on the Category admin page that it sort of works... my Parent Cats will now render in the Category Layered nav BUT only one sub cat is now working/displayed under each parent... seems random which one it is too... despite both being configured in the backend

@blizam
Copy link
Author

blizam commented Jun 14, 2016

issue is the same whether I have unique URL keys or not on my sub-cats... have to have unique on the parent cats obviously... issue is persistent even if I set one of the sub cats to Is Anchor = No... once the 2nd sub cat is created the ONLY way to get the Parent Cat Layered Navigation showing back up is to delete both sub cats

@ghost
Copy link

ghost commented Jun 14, 2016

I am experiencing the same issue(also posted in #2121) All my categories have unique names but do not all show under the category section in the layered navigation.

I have some categories with sub categories showing under the parent category and some not. Same with categories without sub categories.

There doesn't seem to really be a pattern to it that I can see.

@maghamed
Copy link
Contributor

Internal issue created - MAGETWO-54383

@JamboMedia
Copy link

Same issue over here. The layered navigation is not showing categories at some cases.

@pboisvert
Copy link

@choukalos Chuck--can you have the team check into this one? Seems like a couple reports.

@vkorotun vkorotun removed the MX label Aug 4, 2016
@veloraven veloraven added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report labels Aug 17, 2016
@BilleFash
Copy link

Also having this issue. Are their any fixes?

@ghost
Copy link

ghost commented Aug 26, 2016

@BilleFash It works properly in 2.1.0.

@btwq
Copy link

btwq commented Apr 5, 2017

I'm in 2.1.3 and seeing the same problem. Random display of sub-categories in Layered navigation. Help!

@btwq
Copy link

btwq commented Apr 5, 2017

Further to my comment above, discovered it was due to a core Elasticsearch bug see #7017

@magento-engcom-team magento-engcom-team added Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report Component: Catalog Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed labels Sep 11, 2017
@magento-engcom-team magento-engcom-team added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Oct 18, 2017
@magento-engcom-team
Copy link
Contributor

@blizam, thank you for your report.
We were not able to reproduce this issue by following the steps you provided. If you'd like to update it, please reopen the issue.
We tested the issue on 2.3.0-dev, 2.2.0, 2.1.9

@magento-engcom-team magento-engcom-team added the Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch label Oct 18, 2017
@ci2014
Copy link

ci2014 commented Oct 26, 2017

I'm experiencing that problem in Magento 2.2

magento-cicd2 pushed a commit that referenced this issue Jan 28, 2020
[cia] MC-22925: Backport template filter strict mode to 2.2-develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Catalog Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests