Skip to content

In Magento 2.0.11, Incorrect Number of Products in Parent Category in Frontend #7948

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

Closed
perry3181 opened this issue Dec 23, 2016 · 5 comments
Assignees
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 valid Gate 1 Passed. Automatic verification of issue format passed

Comments

@perry3181
Copy link

perry3181 commented Dec 23, 2016

Preconditions

Magento 2.0.10

Steps to reproduce

  1. Upgraded from 2.0.10 to 2.0.11
  2. My store has 4 layers of category, Default Category --> Parent --> Child_1 --> Child_2
  3. Parent category has total 463 products. It shows correct number in backend categories page.
  4. Already tried to clear all cache and reindex, it only happens in Parent category, without any issue in Child_1 and Child_2 categories.
  5. My store included many of configurable products

Expected result

  1. Frontend should show 4xx products in Parent category, excluded the "out of stock" products

Actual result

  1. Frontend show only 28 items in Parent category, but Child_1, Child_2 show the correct number of products
    category issue
@perry3181
Copy link
Author

perry3181 commented Jan 4, 2017

Hello @veloraven , do you have temporary solution to fix this issue? Thank you so much!

@perry3181
Copy link
Author

Hello @veloraven , i tried to rewrite the 'isRangingNeeded' method but it doesn't help.
I think 2.0.11 issue is different from 2.1.3, also I just found that some Child_1 --> Child_2 categories also have this problem.

@gammacode2
Copy link

Hi @veloraven , i there any solution available ? i think , it is a different to 2.1.3 - there is no rangingNeeded - i looks fine - but one addition:

if disable the loosed product , save and enabled after - the product is show in frontend.

Restart Index via cli - Product is not available in frontend.

has any other a solution or an idea ?

@perry3181
Copy link
Author

I just upgraded to 2.0.12 last week, but the problem still exist :(

@magento-engcom-team magento-engcom-team added 2.0.x 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 Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed and removed Issue: Format is not valid Gate 1 Failed. Automatic verification of issue format is failed labels Sep 20, 2017
@magento-engcom-team magento-engcom-team added the Issue: Cannot Reproduce Cannot reproduce the issue on the latest `2.4-develop` branch label Oct 11, 2017
@magento-engcom-team
Copy link
Contributor

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

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 valid Gate 1 Passed. Automatic verification of issue format passed
Projects
None yet
Development

No branches or pull requests

5 participants