After migration no products in frontend view

Hi, 
I Migrated from 1.9.1.1 to 2.1.2
Got no errors at the migration process. 
After that I saved all product sets manually in backend, reindexed data, cleared cach
Some of the products are shown in frontend catalog, some other categories doesn’t have any products. 
In backend the products are existing, have the right category, are active etc but I can’t get them in the front end. 
What’s the problem? Can you pls help me? 
BR
Benni

12 answers

Profile photo of Mall Staff 184060.00 $tone November 25, 2016
Public

Hi moschen
It seems some your products was out of stock now.
I need a closer look to detect the root of issue as you said. Let’s provide me the admin and ssh credentials of your Magento 2.
I will check further and help you get out.
Regards,
Mall.
 

#1
Profile photo of Mall Staff 184060.00 $tone November 25, 2016
Public

Hi moschen,

Some of the products are shown in frontend catalog, some other categories doesn’t have any products. 

Yeah, that because you have a lot of products with quantity = 0 and it will be out of stock after reindex data successfully.
(This is default working rule of Magento 2)
For this case, if you want to show out of stock products too. You have to re-setting value of Stores/Configuration/Catalog/Inventory/Stock Options/Display Out of Stock Products to ‘Yes’
You can see this: http://i.prntscr.com/77e52f83104f4b289bd7d0d74f41bff6.png
I have re-setting that for you.
Let’s reindex your data and clean the Magento cache and the issue as you said will be solved.
Please have a look!
Regards,
Mall.

#5
Profile photo of moschen 70.00 $tone November 25, 2016
Public

Hi Mall,
thank you for that.
Therefor i have a question because of stock.
Example:
Configurable Product Test (The product Test has different sizes)
Simple Product Test-XS Stock 1
Simple Product Test-S Stock 1
Simple Product Test-M Stock 0
So two of three Sizes from the Parents have stock, so the product have to been shown in catalog or?
And some other what is:
The migrated products has configurable and simple products. 
If we dont go on a simple product its correct. But if we go on a simple product and click save, it becomes a virtual product.
Why?
BR
Benni

#6
Profile photo of moschen 70.00 $tone November 25, 2016
Public

We have no virtual products in our stock.
Here are the two types of products we have:

  • Simple Product
  • Configurable Product with simple childs

Can you check in db if the products have the right type?
BR
Benni

#7
Profile photo of Mall Staff 184060.00 $tone November 26, 2016
Public

Hi moschen,

If we dont go on a simple product its correct. But if we go on a simple product and click save, it becomes a virtual product.
Why?

It maybe comes from issue of Magento 2 core. Please test that case with a Magento 2 fresh vs some products which you add manual.
(A product when saving with no value of weight, Magento 2 will auto assign it as a virtual product)
Please have a look a gain!
Regards,
Mall.

#8
Profile photo of moschen 70.00 $tone November 28, 2016
Public

Hi Mall,
thanks. Yeah it was because of the weight.
But now i have another question because of the stock
Now the show is as you said “show also out of stock products”.
But this is wrong!

The parent of a product always have stock 0. But if any child of the parent have a stock, the article must be shown in catalog.
But this is not so with the products we migrated. Something went wrong with the migration!
We tried to create a product manually but this is also not possible. If we wanna choose a attribute-set which is migrated, we only see “Please wait” and nothing happens.

Since we used the migration tool no products will be shown if shop is set to “show also out of stock products” to no.
We have a fresh installation also, and if we create a product there with also “show also out of stock procuts” no, the product will be shown in catalog if any of the childs have a stock
So migration tool is not working!

#9
Profile photo of Mall Staff 184060.00 $tone November 29, 2016
Public

Hi moschen,
To solve the issues with stock in your working, after migrated done in all steps with our tool (at least step #1 -> #5)
For each your Attribute Set migrated you have to open it to compare with the default Attribute Set of Magento 2 core named `Default` and then re-structure of the related Attribute Groups and Attributes.
For example with your Attribute Set migrated named `Damen-Hosen-Pullover Migrated`: You have to do at least one as this: http://i.prntscr.com/0118b9ade8614e4bbdb3b1fcda38f483.png
Further, you can rename, drag, drop Attribute Group vs Attribute to re-structure of Attribute Set as you want.
And then, save your Attribute Set after your changing.
And re-index your data and clean the Magento 2 cache.
And tell me know how it goes.
Regards,
Mall.

#10
Profile photo of bharat jain 0.00 $tone April 25, 2018
Public

Hi, 
I Migrated from 1.9.2 to 2.2.2 .
i have done successfully . in admin panel when i click product in grid view everything is looking but when you click on any product than no data will show there. and admin ui has change. same as in fronted when i click any product from category page showing 404 error.
 
this is the url
http://magento-139082-490362.cloudwaysapps.com/campus-sutra-women-crop-hoodie-charcoal-46374
please help me.
 

#11

Please login or Register to Submit Answer

Written By

Comments