Magento product update with multiple images

I am developing a Magento store and I imported some products, but these products had more than just one image, and when I imported products with only one, now I need to update all products with left images, someone knows how to do this in some fast mode?

Thank!

0


source to share


1 answer


Step 1: Export all products

  • Before you start, make sure that any changes to the product data have been saved.
  • From the Admin menu, select System> Import / Export> Data Flow - Profiles.
  • In the list of profiles, select Export All Products.
  • In the left pane, click Launch Profile.
  • To start the process, click the "Launch Profile in Popup" button.
  • Wait a few minutes for the profile to start executing. The length of time it takes to complete the process depends on the size of the database. Don't close the window.
  • When the process is complete, you can find the exported CSV file in the following location on the server:

    [Magento-install-directory] /var/export/export_all_products.csv

CSV data appears in the spreadsheet as rows of product records, arranged in attribute columns, with an attribute code in the header of each column.

Step 2. Copy the product images to the server

The CSV file contains the path to each product image, but the actual image files must be uploaded to the server. To make images available for import, place them in the media / import directory.

[Magento-install-dir] / media / import Use the sftp utility to copy the images of the products you want to import into the media / import folder.

Step 3: edit the CSV file

Edit images, small_image, thumbnail columns as needed.



enter image description here

Magento creates a directory structure for product image files, which are organized alphabetically. You can see this path in front of each image file name in the CSV data. However, when importing images, you should never include this path before the filename. The only thing you need to do is enter a forward slash in front of the file name for each image you want to import. Magento takes care of the rest. In this example, we need to add three image files that were uploaded to the media / import folder.

/hdb005_HOTP_600.jpg
/hdb005_MARM
/hdb005_SALM_600.jpg

      

Step 4: import products

  • From the Admin menu, select System> Import / Export> Data Flow - Profiles.
  • In the list of profiles, select Import All Products. This is a general purpose profile that you can use to import or update any quantity or product records.
  • In the left pane, select Upload File.
  • Since only one file has been downloaded, click the Browse button for File 1. Then locate the file on your computer and click to select it. The path to the file will appear in the input field.
  • Click the Save and Continue Editing button.
  • In the left pane, select Launch Profile.
  • Select the CSV file you edited. If there are multiple files listed, make sure you select the correct one. Then click the Run Profile in Popup button.
  • Wait a few minutes for the profile to start the import process. Do not close the window or interrupt the process. Look for the "Profiling Completed" message at the bottom of the list when the import process is complete. If you receive an error, please correct the problem in the CSV file and try again.

For more on this see:

http://merch.docs.magento.com/ce/user_guide/content/store-operations/dataflow.html

+3


source







All Articles