How to Import All Products with Images in Magento 2

magento-2-tutorial
how-to
import
products-with-images

In the topic “How to Import Products in Magento 2”, there is Images File Directory field of the path leading to your product image file. To explain for the presence of the Images File Directory field, Magento has its own directory structure for product images which is alphabetically organized and the path to the specific image is included in the import product file. Actually, you can upload the image file on Magento server or external server after log in with the correct credentials that has the permission to manage the Magento folder on the server. It is easy to see that there are two step to Import All Products with Images and I will also demonstrate you two ways to import your product images : with Local Server and with External Server.

Import All Products with Images

  • Method 1: Import Images from the Local Server
    • Step 1: Upload the image files on Local Server
    • Step 2: Import Images
  • Method 2: Import Images from External Server
    • Step 1: Upload the image files on External Server
    • Step 2: Import Images.

Method 1: Import Images from the Local Server

  • Step 1: Upload the image files on Local Server
    • On the Magento server, upload the image files to the default folder for importing product images: pub/media/import. You can use a different folder as well on the Magento server, as long as the path to the folder is specified during the import process.
  • Step 2: Import Images
    • In the CSV data, enter the name of each image file to be imported on the correct row, by sku, and in the correct column according to image type (base_image, small_image, thumbnail_image, or additional_image). Make sure the relative path to the import directory is included before each file name. For example: /pub/media/import/image.jpg. The CSV file needs to include only the sku column and the related image columns. If you want to import multiple images for a single sku, insert a blank row below the sku, and enter the additional image file names in the appropriate columns.
    • Follow the instruction in importing products till the filling in the Images File Directory field.
    • Enter the path to the the folder that you upload your images in the beginning in Images File Directory fields and continue importing products. Import All Products with Images

Method 2: Import Images from External Server

  • Step 1: Upload the image files on External Server
    • Upload the images to be imported to the selected folder on the external server.
    • In the CSV data, enter the full URL for each image file in the correct column by image type (base_image, small_image, thumbnail_image, or additional_image). For example: http://example.com/images/image.jpg.
  • Step 2: Import Images.
    • Process as same as the step 2 of method 1.


It comes to the end of tutorial: How to Import All Products with Images in Magento 2.

Please leave comments if you have any questions, feedbacks.

Comments for How to Import All Products with Images in Magento 2

You also may like these Magento 2 Extensions

One Step Checkout

$199
17 reviews

Layered Navigation

$149
7 reviews

Affiliate

$149
7 reviews

FAQ

$149
10 reviews

Zoho CRM

$249
no review

Store Locator

$199
no review

Shop By Brand

$99
no review

Better Blog

FREE
7 reviews