Help Center

Help Center/Vendor Panel/Data Imports/

How To: Add Product Images for Product Imports

A product in OneBonfire can have multiple images. To add images for a product, you normally need to open the product editing page, drag and drop the images into the special area, and save the changes. It’s a fast way, but sometimes admins need to update images for a large number of products at once. In this case, use product import with presets. This article describes how to import images together with products.

In most cases, images must be uploaded to the server under your Vendor panel before you can import them.

Ways to Upload Images

Before you can import the images, you need to upload them. You can do it via:

  • the built-in File editor.
  • upload archive with images straight to the import preset.

File Editor

Let’s assume that we want to upload some images for products. They need to be added to the Private files section, into a special directory: exim/backup/images.

  1. Go to Settings → Storage → View files in the admin panel of your store.

  2. Choose the Private files section.

  3. Go to the exim/backup/images directory; if it isn’t there, create it.

  4. Upload your images into that directory. You can simply drag your images and drop them in the file area.

    Congratulations! Our images are now located in exim/backup/images, and we can refer to them in an imported file.

    CS-Cart file editor supports drag-and-drop. Actions can be performed via buttons at the top or via the context menu.

Archive with images

Image files can be uploaded via the Archive with images option as a zip, tgz, or gz package in the import preset settings.

In Settings → Import data → Products you can upload images together with the products data.
 

Example of Importing Images

  1. Prepare the images and upload them where necessary. For example, let’s upload them to the exim/backup/images folder of the Private files section.

  2. Prepare the imported file. Specify the product data as described in this article.

    For your product image updates, look at Images—the names (and sometimes locations) of the product images.

  3. Import the products with presets. When matching the columns on the Fields mapping tab, make sure to match each of the columns in the imported file with a product property in OneBonfire. Most of the columns have the same names as the corresponding product properties; the images column must be matched with Images(Images).

    Importing images along with products in CS-Cart.

    If necessary, you can also switch to the Settings tab and tick the Delete existing additional images checkbox in the additional settings. That way you’ll replace the the old images of the imported products with new ones, rather than adding the new images to existing ones.

    In this example, all images of a product are specified in one column and are separated from each other with the default /// image delimiter. The import preset settings allow you to enter a different delimiter. You can even specify each image in a separate column. In that case all columns with images must be matched with Images(Images).