I have upload some products using script. I am using below code for upload images.

$objectManager = \Magento\Framework\App\ObjectManager::getInstance();

$product_images = $objectManager->create('\Magento\Catalog\Model\Product')

        array('image', 'small_image', 'thumbnail'), false, false);


I have 2 stores and after upload product data i can see products images on first store and on second store i can only see product images on product detail page.

i can't see products images on home page and product list page for second store.

i have already doing indexing and caching process.

can you please help to resolve the issue.

1 Answer 1


Go to Admin -> Stores -> Configuration -> General -> General -> Single-Store Mode

Enable Single-Store Mode to Yes

& setStoreId(1);

Magento 2: Save all product data outside Magento with Images

Follow above URL

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.