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

Stock filter ( quantity_and_stock_status ) is not displayed in layered navigation #26172

Closed
hiren-aimsinfosoft opened this issue Dec 24, 2019 · 17 comments
Labels
Area: Design/Frontend Area: Frontend Component: LayeredNavigation Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P1 Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing. Progress: done Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Severity: S1 Affects critical data or functionality and forces users to employ a workaround.

Comments

@hiren-aimsinfosoft
Copy link

hiren-aimsinfosoft commented Dec 24, 2019

Preconditions (*)

  1. Magento 2.4-develop
  2. Display out of stock product in listing page

Steps to reproduce (*)`

  1. Configure quantity_and_stock_status attribute according https://docs.magento.com/user-guide/catalog/navigation-layered-filterable-attributes.html#step-1-set-up-the-attribute-properties
    image
    image
  2. Open any anchor category from the frontend
  3. Attribute quantity_and_stock_status is not present in layered navigation

Expected result (*)

  1. Attribute quantity_and_stock_status is should be present in layered navigation or 'Use in Layered Navigation' option should be disabled for this attribute

Actual result (*)

  1. Attribute quantity_and_stock_status is not present in layered navigation
    image
@m2-assistant
Copy link

m2-assistant bot commented Dec 24, 2019

Hi @hiren-aimsinfosoft. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

@hiren-aimsinfosoft do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • yes
  • no

@m2-assistant
Copy link

m2-assistant bot commented Jan 8, 2020

Hi @arushibansal013. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!


@daweedco
Copy link

I have the same issue

2 similar comments
@wb-magma
Copy link

wb-magma commented Apr 1, 2020

I have the same issue

@sciola
Copy link

sciola commented Apr 6, 2020

I have the same issue

@daweedco
Copy link

still no update ???

@sidolov sidolov added this to Ready for Grooming in Low Priority Backlog Sep 24, 2020
@m2-community-project m2-community-project bot moved this from Ready for Grooming to Dev In Progress in Low Priority Backlog Sep 24, 2020
@ghost ghost unassigned arushibansal013 Oct 8, 2020
@m2-community-project m2-community-project bot moved this from Dev In Progress to Ready for Grooming in Low Priority Backlog Oct 8, 2020
@sidolov sidolov added this to Ready for Confirmation in Issue Confirmation and Triage Board Oct 21, 2020
@ghost ghost removed this from Dev in Progress in Community Backlog Oct 21, 2020
@ghost ghost removed this from Ready for Grooming in Low Priority Backlog Oct 21, 2020
@ghost ghost added Issue: ready for confirmation and removed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed labels Oct 21, 2020
@engcom-Delta engcom-Delta self-assigned this Oct 22, 2020
@m2-assistant
Copy link

m2-assistant bot commented Oct 22, 2020

Hi @engcom-Delta. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Add label Issue: Confirmed once verification is complete.

  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-Delta engcom-Delta added Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Oct 23, 2020
@ghost ghost moved this from Ready for Confirmation to Confirmed in Issue Confirmation and Triage Board Oct 23, 2020
@magento-engcom-team magento-engcom-team added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Oct 23, 2020
@magento-engcom-team
Copy link
Contributor

✅ Confirmed by @engcom-Delta
Thank you for verifying the issue. Based on the provided information internal tickets MC-38686 were created

Issue Available: @engcom-Delta, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

@ghost ghost removed the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Oct 23, 2020
@engcom-Delta engcom-Delta changed the title Magento 2.3.2 : Stock filter ( quantity_and_stock_status ) not working in product listing page Stock filter ( quantity_and_stock_status ) is not displayed in layered navigation Oct 23, 2020
@sdzhepa sdzhepa self-assigned this Oct 29, 2020
@m2-assistant
Copy link

m2-assistant bot commented Oct 29, 2020

Hi @sdzhepa. Thank you for working on this issue.
Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:

    1. Add/Edit Component: XXXXX label(s) to the ticket, indicating the components it may be related to.
    1. Verify that the issue is reproducible on 2.4-develop branch
      Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
      - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
      - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
    1. If the issue is not relevant or is not reproducible any more, feel free to close it.

@magento-engcom-team magento-engcom-team added Priority: P1 Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing. Severity: S1 Affects critical data or functionality and forces users to employ a workaround. labels Nov 5, 2020
@m2-community-project m2-community-project bot added this to Dev In Progress in High Priority Backlog Nov 5, 2020
@sdzhepa sdzhepa removed their assignment Nov 5, 2020
@m2-community-project m2-community-project bot moved this from Dev In Progress to Ready for Development in High Priority Backlog Nov 5, 2020
@m2-community-project m2-community-project bot moved this from Ready for Development to Done in High Priority Backlog Nov 13, 2020
@markhyng
Copy link

markhyng commented Dec 2, 2020

Hi @magento-engcom-team, which version or PR fix this problem?

@markhyng
Copy link

Hi @magento-engcom-team, any update?

@msyhr
Copy link

msyhr commented Jan 22, 2021

@magento-engcom-team also interested

@sdzhepa
Copy link
Contributor

sdzhepa commented Jan 29, 2021

Updates for this issue:

This public issue report was closed by an automated system- bot which synchronized public and internal backlog.
It happened because internal ticket MC-38686 was closed with Wont Fix resolution
MC-38686 has a huge thread of comments and discussions and linked tickets
Summary and main statements:

  • Functionality described in the issue and attribute(quantity_and_stock_status) related to Magento CatalogInventory module.
  • CatalogInventory module was marked as deprecated since 2.3.0 release.
  • Magento has a plan to remove CatalogInventory module in the nearest future
  • Functionality will be reviewed and migrated/reimplemented from legacy CatalogInventory to MSI(Multi-Source Inventory).
  • Problem described in issue Stock filter ( quantity_and_stock_status ) is not displayed in layered navigation #26172 is not trivial and requires solid development in the module that will be removed. Magento does not have plans to work on it but instead, this functionality will be re-considered in the scope of migration tasks.

That's all information that I found and can share now.

@TheRealHunzik
Copy link

I am facing this issue in Magento 2.3.4-p2 is there any solution?

@nordcomputer
Copy link

I created an extension, that sets a newly created attribute "filter_stock" to simple products according to the stock status via cronjob - its not a perfect solution, but it may help somebody:
https://github.com/nordcomputer/magento2-stockfilter

@Booqdan
Copy link

Booqdan commented Jun 1, 2022

So there is any solution? From 2019 still not working?

@gfrey-namcopool
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Design/Frontend Area: Frontend Component: LayeredNavigation Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Priority: P1 Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing. Progress: done Reproduced on 2.4.x The issue has been reproduced on latest 2.4-develop branch Severity: S1 Affects critical data or functionality and forces users to employ a workaround.
Projects
Development

No branches or pull requests