Skip to content

Category product count issue #8887

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
RishabhRkRai opened this issue Mar 15, 2017 · 6 comments
Closed

Category product count issue #8887

RishabhRkRai opened this issue Mar 15, 2017 · 6 comments
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release

Comments

@RishabhRkRai
Copy link

When I import product, then in category product count is not same as product in admin for that category. But when i go to admin in category section Magento Admin > Catalog > Category click on category and just save the category, Product count is correct.

Preconditions

  1. I use Magento 2.1.4, PHP 7.0, Mysql 5.4, Nginx

Steps to reproduce

  1. Import some products with different category
  2. Run the indexer
  3. Go to storefront and see the category product count.

Expected result

  1. Product count is same as in category, if all the product have simple type and visible on frontend.

Actual result

  1. Product count is less than the number of product in backend.
@gputignano
Copy link

Besides product count products in category are all visible?
This ticket seems to be the same of this: #8681

@RishabhRkRai
Copy link
Author

@gputignano ; All the products have visibility Catalog,Search , but if i click and save that category again manually from admin panel then the issue is resolved for the next few days.

@yumicom
Copy link

yumicom commented Apr 21, 2017

my solution: products - catalog - select all - action - change status - enable

@Silarn
Copy link

Silarn commented Aug 2, 2017

Official fix exists as MAGETWO-62616 - though it only exists in the devel and 2.2 RC branches.

I'm planning to work on a module version of this fix tomorrow - which is a true fix and not a workaround. (At least until the core fix is released.)

@Silarn
Copy link

Silarn commented Aug 2, 2017

I've compiled a standalone version of the official fix at composer package silarn/magento2-catalog-indexer-fix.

For now I just have dev-master available, but as soon as I can confirm this standalone version works I'll push a v1.0.0 tag.

I'm using identical code in a full Magento 2 install, so it should work - I just haven't tested the composer version yet.

@magento-engcom-team magento-engcom-team added G1 Passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed and removed G1 Passed labels Sep 5, 2017
@orlangur
Copy link
Contributor

Closing as the fix for this issue is already available on Magento 2.2.0 branch.

Anyone, do not hesitate to create a backport to 2.1-develop if needed, see https://community.magento.com/t5/Magento-DevBlog/Pull-Requests-for-2-1-x-Patch-Releases/ba-p/65630 for details.

@orlangur orlangur added Fixed in 2.2.x The issue has been fixed in 2.2 release line Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release labels Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release
Projects
None yet
Development

No branches or pull requests

6 participants