cancel
Showing results for 
Search instead for 
Did you mean: 

all products missing in categories after reindex

all products missing in categories after reindex

Hello

 

we are on magento 2.3.4 CE.

 

after the indexer has run (either by cron or manually), we have the following problem:

products are visible in the frontend only in (sub)categories where they are directly assigned to. In parent categories, no products are visible (anchor "yes" is set in all categories).

 

when we change the anchor-mode from "yes" to "no" and again back to "yes", the products are visible again. This has to be done for every affected category.

We have written a REST-Job in Java that recursivly traverses all categories and does write anchor-mode twice ("no" and then "yes"). So for the moment, we have a workaround.

 

we have seen the posts from magento 2.1.5 regarding that the return value of"isRangingNeeded()" has to be set to false, but we guessed that this does not apply to Mangeto 2.3.4.

 

Any help?

 

Thank you

Andrej