Magento2: Layered navigation showing attribute of zero quantity configurable product

Created on 17 Jun 2016  Â·  17Comments  Â·  Source: magento/magento2

Steps to reproduce

  1. Install Magento from develop branch.
  2. Add new configurable product with size or color
  3. Associate product with size for eg 40 have 0 quantity and not invisible status
  4. Set Catalog > Inventory > Showing Out of Stock product to "No"

    Expected result

  5. Layered navigation not showing that associated product in product listing page

    Actual result

  6. Layered navigation showing attributes of those associated products.

Here is what layered navigation showing:
screenshot 2016-06-17 10 38 07

And inside product page:
screenshot 2016-06-17 10 41 13

Catalog Cannot Reproduce Clear Description Format is not valid Ready for Work bug report

Most helpful comment

Why this bug is so little discussed? Isn't it very important for who sells only configurable products?

All 17 comments

Any updates? @yaronish @MomotenkoNatalia

This is known issue, internal ticket MAGETWO-56525. Thanks for reporting.

Why this bug is so little discussed? Isn't it very important for who sells only configurable products?

@LucScu i agree, it's really annoying.

@sevos1984 Any updates?

Thanks

4 months and 1 day for a very important issue, could Magento team set higher priority for this problem? Because I think all Magento merchants in the world are using configurable products...

@sevos1984

Very frustrating for users... Imagine you filter for Medium shirts but you still see 200 products and 150 of them have no medium size... This needs to be resolved fast @sevos1984

@sevos1984 are you alive?

@valdislav Are you aware of this problem. I think this issue needs to be reassigned.

Thanks :)

Any updates? Somebody has could apply any fix?

Hello People... has anyone figured this out??

The problem we had is using bundled items. When an item in the bundle reaches zero, that item attributes still show up in the layered navigation results even though the item is set to zero.

We figured out a work around for this when using bundled products.

In order to hide an item in the layered navigation, you must disable the item and it will not show in the layered navigation.

If you don't want to disable all of the items manually when an item quantity get to zero, there is a setting to hide Out of Stock items.
Open Admin panel of Magento store and navigate to System – > Configuration – > Catalog– > Inventory – > Stock Options Section.
Set Display Out of Stock product to No:
Click Save Config button to apply changes.

This will not disable the items. This will Not Display Items that are Out of Stock.

I fixed reindexing catalog_product_attribute, so i setted a cron to reindex it every night.

any news?

@smokygeek17 Seems "fixed" on 2.1

Coming in 2.2

@nntoan, 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

@nntoan, 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

Was this page helpful?
0 / 5 - 0 ratings