Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
187 Widoki

I would like to know how I can do a bulk import of images for product variants.

Awatar
Odrzuć
Autor Najlepsza odpowiedź

From Odoo 18 we can now massively import images and files from the Odoo import wizard.

First step is to select the Product Variants you would like to Import the images to and select export from the gear icon.

When exporting, make sure to enable the Import Compatible checkbox and also export, Name, and Attribute Values identifying the Product Variants.

Export the Image and the Variant Image field.

Note: The Image field will have value if there is an existing image on the product level.

In the excel sheet which is exported, Make sure that the image column is blank even if there is an associated image on the product level.

In the Image Variant Column, add the name of the image with the file extension.

The reason we leave the image column blank, is due to the logic behind the way Odoo looks for the images on Product Variants. If the Product has an image all the variants in the product will automatically have that image value and this is not superseded if the Variant image is added via import. Hence we are also instructing the system to keep the Image field blank and then add the variant images in the same import file.

Go to Product Variants and import the file map the fields. You can skip mapping the Name and Variant Value as we were just using it for reference and all we need is the external ID to add the images to the import.

Add all the images needed to be imported by selecting the Upload your files button and importing all images at once.

Test and do the import.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
wrz 25
357
3
lip 25
3833
1
mar 25
5379
1
maj 24
2530
2
sty 24
3452