Migrated category does not show all products

We have a problem with Magento 2.1.6. We migrated data from Magento 1, but for some reason all products in migrated category are not shown in frontend. There is also a github issue here:
https://github.com/magento/magento2/issues/9568
 
Do you have any idea what could cause that?

13 answers

Profile photo of Mall Staff 184060.00 $tone June 19, 2017
Public

Hi there,
The latest version of Magento2 is v2.1.7. Kindly try upgrade to this version. And tell me know how it goes.
Regards,
Mall.

#1
Profile photo of krantila 660.00 $tone June 30, 2017
Public

We upgraded the Magento to 2.1.7 and also upgraded to the latest version of your migration extension 3.0.9. 
I don’t know if the upgrade did anything, but after I clicked one of the product attribute filters in layered navigation in frontend all products suddenly started showing correctly in the category. Not sure if I had tried that before upgrading. Have you seen anything like that before? Our worry is that the problem might come back later.

#2
Profile photo of Mall Staff 184060.00 $tone June 30, 2017
Public

Hi there,

Have you seen anything like that before? Our worry is that the problem might come back later.

No we don’t see that. Let’s continue verify the data migrated and contact me if you need further assistance.
Regards,
Mall.

#3
Profile photo of krantila 660.00 $tone July 27, 2017
Public

Hi.
The problem came back. Some products are not visible in categories. I can find them with search. If I save such product it will be visible again. For now -- until it disappears again.
All the missing products had position information 1 instead of 0 as the ones that were visible. But also some products that had position 1 were visible. When I saved the category all products became visible.

#4
Profile photo of ubdev Staff 97950.00 $tone July 28, 2017
Public

Hi Krantila, 
Actually, some users run across similar situation, as this case shared via Github. 
For now, please go ahead with the workaround you mentioned -- When I saved the category all products became visible.
Should you need our further help, please reach us here.
Regards,
Ubertheme team 
 

#5
Profile photo of krantila 660.00 $tone July 28, 2017
Public

Hi,
Do you have a clue if it’s a problem with migrated or all products? According to Github and our experience it could be only with migrated products. Could you contact us if you find a solution for the problem. We have to go public with the new shop but of course it’s a disaster if some products are not visible. It’s impossible to check all categories every day for missing products. So it’s a critical problem for all webshops. Thanks.

#6
Profile photo of Mall Staff 184060.00 $tone July 28, 2017
Public

Hi there,

Could you contact us if you find a solution for the problem. 

As you see that is a issue of the Magento core in indexer. Let’s provide me the admin credentials, ssh credentials and web root path of your Magento2 instance now. I will try add more some custom code for Magento’s indexer.
Regards,
Mall.

#7
Profile photo of Mall Staff 184060.00 $tone August 2, 2017
Public

Hi there,

 What kind of change did you add?

That is a issue of Magento core with indexer. I have added some overwrite the indexer at: app/code/Ubertheme/Ubdatamigration/Model/Indexer/Product/Category/Action/Full.php
FYI,
Mall.

#13

Please login or Register to Submit Answer

Written By

Comments