Screenshot 2025-03-14 at 3.23.08 PM

Importing Extra Variant Images in Odoo

Home » Company Bee Blog » Importing Extra Variant Images in Odoo

Since product variants (configurated products) benefit from having their own additional images, and being able to add those in bulk is important. Here's a quick walkthrough of how to add extra variant image(s) to your product variants in Odoo eCommerce.

From the product template, click the Variants smart button

Screenshot 2025-03-14 at 2.39.28 PM

Select all variants and click Actions > Export

Screenshot 2025-03-14 at 2.42.42 PM

Check "I want to update data (import-compatible export). Then, export whichever field you need to identify each variant from each other. Since this example only has one attribute, I'm using "Variant Values".

You can export this as XLSX or CSV, depending on the software you're using to modify the data.

Screenshot 2025-03-14 at 2.45.03 PM

Export the data and import into your spreadsheet software. I'll be using Google Sheets.

This will give you the external ID (id) and the field you chose to identify each variant.

Screenshot 2025-03-14 at 3.09.01 PM

Add two columns with these headers:

  1. Extra Variant Images / Image
  2. Extra Variant Images / Name

Then, populate those new column fields with the URL of the image for the variant, and give that image a name. I just used the default filename generated by Google Drive for this example.

Screenshot 2025-03-14 at 3.11.02 PM

Export the sheet as an XLSX or CSV.

 

Next, go back to Odoo and navigate to Products > Product Variants. This is NOT the same view where you exported your variants.

Screenshot 2025-03-14 at 3.12.54 PM

Then click the Action > Import Records

Screenshot 2025-03-14 at 3.13.23 PM

Upload the file you just exported and make sure that the fields map as follows:

  • id = External ID
  • [the identifying field you chose] = None (do not import)
  • Extra Variant Images / Image = Extra Variant Images / Image
  • Extra Variant Images / Name = Extra Variant Images / Name
Screenshot 2025-03-14 at 3.16.05 PM

Click TEST to ensure there are no errors. You should see the Everything Seems Valid message.

Click IMPORT.

Screenshot 2025-03-14 at 3.18.30 PM

Once imported, go back to Products > Products and open the product template, then click the Variants smart button. You will not be able to see results from the current view.

Screenshot 2025-03-14 at 2.39.28 PM

You'll now see the new image under "Extra Variant Media"

Screenshot 2025-03-14 at 3.20.47 PM

On the front end, the image you added becomes the second image after the main product image.

Screenshot 2025-03-14 at 3.23.08 PM

Leave a Comment