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
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.
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.
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.
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.
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.
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.
Hi. Done. What kind of change did you add? Thanks.
BR
Kimmo
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.