cancel
Showing results for 
Search instead for 
Did you mean: 

the product show out of stock after migration

the product show out of stock after migration

I haved import products of my store from shopify to magento but the product show out of stock. What should I do now? Any suggestion for me?

3 REPLIES 3

Re: the product show out of stock after migration

Hi @linh_ng,

Did you check magento admin inventory tab?

Is there positive quantity or quantity not imported?

Or try once indexing as well.

php bin/magento indexer:reindex


I hope it will help you!

Re: the product show out of stock after migration

Hello @linh_ng ,

Please try to reindex the data by executing following commands from magento root directory

bin/magento indexer:reindex

Hope this will help you, if still you face same issue please let me know.

If this helps you, please give us kudos and accept it as solution.

Thank you.

Re: the product show out of stock after migration

Hello,

 

First of all please check the magento admin inventory tab Is there a positive quantity or quantity not imported? 

I think you have a lot of products with quantity = 0 and it will be out of stock after reindexing 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’
Let’s reindex your data and clean the Magento cache and the issue as you said will be solved.
Please have a look!