Images are hidden

Hi Mall,
We have managed to transfer the images from our Magento 1 store our Magento 2 site; however, many of the thumbnail images do not appear in the product catalog list, as they are marked as hidden for some reason. When we go into the product and remove the hidden checkbox the image still do not appear on the frontend of the Magento 2 site and do not appear in the backend on the product catalog list. 
 
Do you have any suggestions or solutions why this happening?
 
Thank you in advance for any help you may provide.
 
Guy

  1. Profile photo of Guy StewartGuy Stewart 110.00 $tone December 16, 2016
    Hi Mall,Thank you for your reply.We have ran both of the SQL query's on the database for our Magento 2 store, and have also cleared our browser cache, cleared the magento cache and reindexed and cleared the magento cache again via SSH; and have logged out and in again; however, the images are still not appearing properly. It's a mystery!

    Nothing works - please can you have a look at the database?

    Guy
  2. Profile photo of Guy StewartGuy Stewart 110.00 $tone December 20, 2016
    Hi Mall,Thank you for your kind offer to help.Actually, we have managed to identify the problem and fixed it, so everything is fine now. Basically, the scope of thumbnail attribute on our Magento 1 store, was set to Storeview, instead of Global.I have just one more question. Is it possible to "re-run" a Migration Step from the command line or is it only possible to re-run a step via the admin area in the Magento 2 backend. we prefer to re-run via SSH? If so, how do we re-run the step via the command line - do we just type: php bin/ubdatamigration run --step=5 --limit=200Will that re-run from the last imported record?Guy

3 answers

Profile photo of Mall Staff 184060.00 $tone December 16, 2016
Public

Hi Guy Stewart,

Do you have any suggestions or solutions why this happening?

That occurred because your images were marked as Excluded in your Magento 1 which causes conflict with the new rule of Magento 2.
Our tool migrates all your images settings on as-is basis and did not make any change to related settings.
If you wish to activate those images in Magento 2, you can run the following SQL in your Magento 2 database:

UPDATE `YOUR_DATABASE_NAME`.`catalog_product_entity_media_gallery` SET `disabled` = '0';
UPDATE `YOUR_DATABASE_NAME`.`catalog_product_entity_media_gallery_value` SET `disabled` = '0';

Let me know how it goes then.
Regards,
Mall.
 
 

#1
Profile photo of Mall Staff 184060.00 $tone December 21, 2016
Public

Hi Guy Stewart,

Is it possible to “re-run” a Migration Step from the command line or is it only possible to re-run a step via the admin area in the Magento 2 backend. we prefer to re-run via SSH? If so, how do we re-run the step via the command line -- do we just type: php bin/ubdatamigration run --step=5 --limit=200Will that re-run from the last imported record?Guy

Yes, you can use that command line to delta migration for each step. It will run data migration from last imported record.
Regards,
Mall.

#3

Please login or Register to Submit Answer

Written By

Comments