How to Import Products to Shopware 6 & Replace Existing Images

- Our extensions, Shopware

There may be several scenarios when you import product data to Shopware 6. Let’s suppose, you already have products in your catalog and need to update them. But what update behavior do you need? Do you want to replace the existing product images with the new ones? Or do you want to add the new images to the existing ones? In the following article, we shed light on how to implement both approaches. You will learn how to import products to Shopware 6 and replace the existing images. At the same time, we will teach you how to run Shopware product import so that the existing media library is enhanced with the new content. To achieve this exceptional flexibility, you will need to install the Improved Import, Export, and Mass Actions app. Also, don’t forget to check our Shopware Cookbook for additional helpful suggestions.

Shopware 6 Product Import: Replace Media Toggle

When you use the Improved Import, Export, and Mass Actions app for import and export processes, it offers lots of additional features that extend the default data transfer functionality of Shopware 6. The Replace media toggle is among such enhancements. You can find it in the Advanced settings section of each import profile: 

import products to shopware 6 and replace images

If this switch is active, the application deletes the existing product media files, replacing them with images specified in the imported update file.

If the Replace media toggle is disabled, your product import adds the files from the update file to the existing media library.

How to Import Products to Shopware 6 & Replace The Existing Images

Now, let’s see how to import products to Shopware 6 replacing the existing images with the new ones. 

Click the New Profile button under Extensions -> Improved Import, Export & Mass Actions -> Product Import. 

shopware 6 xml import

You are redirected immediately to the first screen of your new import profile called Select file. Follow these steps to configure a Shopeare 6 import procedure that lets you replace the existing product images: 

how to import xlsx to shopware 6

  1. Specify your profile’s name; 
  2. Select an entity you want to import – Products;
  3. Create a schedule of updates if necessary;
  4. Configure email notifications if wish to get updates on import results:
  5. Select your file format (XLSX, XML, or CSV);
  6. Choose your import source (e.g., file, URLFTP, Google Drive, or Google Sheets);
  7. Configure advanced settings: URL rewrite behavior, media replacement behavior, and stock increment strategy:
    1. Enable the Replace media switch to import products, replacing their images already available on your website. 
    2. Disable the switch to add new images to the existing media library.

import products to shopware 6 and replace images

Now, you can work with your mappings. The corresponding screen lets you specify which columns from the imported file match the properties of the products from your Shopware 6 website. 

The Improved Import, Export, and Mass Actions app also lets you preview how products look after import. 

Next, click the Import button at the bottom of the Preview result page to start the import process.

You can read more about the enhanced Shopware 6 import in our Improved Import, Export & Mass Actions Manual

Other Features

The Improved Import, Export, & Mass Actions app lets you address the most prevalent inconveniences associated with Shopware 6 data transfers. For instance, you cannot get all relevant product information in a single file if you export it from Shopware 6. However, the Improved Import, Export, and Mass Actions app lets you do that providing the ability to edit products in bulk. As a consequence, you can manage your catalog with ease. Other key benefits include:

  • Product import and export with full support for custom attributes (properties);
  • Customer import and export with full support for addresses;
  • Orders export;
  • Full support for product variants with a full set of attributes;
  • Product properties mapping with mapping presets;
  • Import and export schedules;
  • Import and export of CSV, XLSX, and XLSX files;
  • Direct file uploads;
  • FTP/FTPS uploads.

You can find more information about the Improved Import, Export & Mass Actions app here: