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

Layered Navigation with configurable product #9980

Closed
Scqualo71 opened this issue Jun 19, 2017 · 5 comments
Closed

Layered Navigation with configurable product #9980

Scqualo71 opened this issue Jun 19, 2017 · 5 comments
Labels
bug report Component: Catalog Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@Scqualo71
Copy link

Scqualo71 commented Jun 19, 2017

Hello,

I think is not correct the layered navigation with configurable product in Magento 2. Configurable products should be visible only if they have associated some SIMPLE PRODUCT that respects ALL applied filters. The same problem is with advantage research.

Preconditions

  1. Magento CE ver. 2.1.7

Steps to reproduce

  1. Insert this products:
    image

Expected result

  1. Only configurable product A is visible

Actual result

  1. Both configurable product A and B are visible. So if the customer clicks on the product B does not find the desired combination.
  2. you can see this example in:
    http://ur2.chelegno.com/scatole-confezione/scatole-automontanti.html
@RomanKrut
Copy link

@Scqualo71 Hi, thank you for report this issue , internal ticket was created - MAGETWO-70107.

@veloraven veloraven added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Jun 23, 2017
@magento-engcom-team magento-engcom-team added 2.1.x Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development bug report Component: Catalog Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed and removed G1 Passed labels Sep 7, 2017
@magento-engcom-team
Copy link
Contributor

@Scqualo71, thank you for your report.
The issue is already fixed in develop branch, 2.2.0

@ThomVeldpaus
Copy link

Hello,

It seems Magento 1 has te same issue, does anyone know if there is relatable ticket for that?

@ikis1520
Copy link

Hi I reviewed the code this is a possible solution :

Modified the file vendor/magento/module-catalog-search/Model/Layer/Filter/Attribute.php

       if ($isAttributeFilterable && (!$this->isOptionReducesResults($count, $productSize) || $count === 0)) {
        return;
    }

to:

    if ($isAttributeFilterable && $count === 0)) {
        return;
    }

I hope this help you.

@mbattistini
Copy link

mbattistini commented Oct 24, 2022

Magento ver. 2.4.5-p1, PHP 8.1
I keep having the same problem, maybe it has to do with stock.
After selection, products displayed with selected attributes are displayed even if "out of stock".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Catalog Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed 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

7 participants