Skip to Content
Menu
This question has been flagged
5 Replies
928 Views

Hello,

Is there a quicker way to upload product images to each variant? Lets say I have 50 variants for a product, and would like to have an image for every variant so when visitor click into it, it will show the correct image, is there a way to achieve this instead of clicking into each variant and upload each time?


Lastly where will the images be stored? Do we have some kind of directory/folder organiser we can work with? I understand Document app have a file directory but it doesn't work with Website/Sales/Inventory/ECommerce. Are there any third party plugin that help with this? Free or paid ones?


Thanks,


Regards,

Avatar
Discard
Best Answer

Hi,


For importing the product images, you can refer to the following links

https://apps.odoo.com/apps/modules/18.0/product_import

*https://www.youtube.com/watch?v=W3ECMHAotgI&t=1s


Hope it helps.

Avatar
Discard
Best Answer

Dear Avero HK,

We launched a tool on the Odoo store that may help you. 
You can find it by searching : Variant Photo Manager by Amofordesign on the app store and check the demo video.

Let me know if it helped you.

Best regards

Avatar
Discard
Author Best Answer

Thanks Odiware

I am figuring out how to do it with CSV at the moment, how do I find my variant IDs? Do you have some sort of a demo video or template then I can try? And I am unable to search the third party plugins you mentioned from the App store. Thanks!


Thanks Ritik, you explained it very detail, I understand the concept, however do you have a template of the spreadsheet that I can test with? How do I map each variant correctly?

Thanks


Avatar
Discard
Best Answer

To upload product images for variants quickly in Odoo:

  1. Bulk Upload via CSV: Create a CSV file with variant IDs and image URLs or base64 data, then import it through Odoo’s import functionality.
  2. Odoo API: Automate image assignment via script using the Odoo API to link images to product variants.
  3. Third-party Modules: Use modules like Product Image Upload by Variant to streamline the process.

Image Storage:

  • Images are stored in Odoo’s ir.attachment model, linked to each product variant.
  • No direct folder structure, but you can use tags or categories for better organization.

Third-party Plugins:

  • Paid: Website Product Image Management and Enhanced Product Variants for better image organization and bulk uploads.

Avatar
Discard
Best Answer

Efficiently managing product images for multiple variants in Odoo 18 enhances the visual appeal and accuracy of your product listings. Here's how you can streamline the process:​

1. Understanding Odoo's Product Variants and Images:

Odoo allows the association of specific images with each product variant, ensuring that when a customer selects a variant, the corresponding image is displayed. This enhances the user experience by providing accurate visual representations of the selected products.​

2. Methods to Upload Images for Multiple Variants:

  • Manual Upload via Product Variants Interface:
    • Navigate to the Sales module.​
    • Go to Products and select Product Variants.​
    • For each variant, upload the corresponding image.​
    • Note: While straightforward, this method can be time-consuming for a large number of variants.​
  • Bulk Import Using Spreadsheet:
    • Prepare a spreadsheet containing the variant details along with the image file paths or URLs.​
    • Use Odoo's import feature to upload the data, associating each variant with its respective image.​
    • Note: Ensure that the image files are accessible at the specified paths during the import process.​

3. Storage and Organization of Product Images:

By default, Odoo stores product images within its database, which can lead to increased database size over time. To manage and organize these images more effectively:​

  • External Storage Solutions:
    • Configure Odoo to store images on external file storage systems or cloud services.​
    • This approach helps in reducing database bloat and allows for better file management.​
  • Directory Structure:
    • Implement a structured directory system for storing images, categorizing them based on product categories or other relevant criteria.​
    • While Odoo's default setup may not provide an extensive directory structure, customization can be done to align with your organizational needs.​

4. Recommendations for Automation and Best Practices:

  • Automated Image Assignment:
    • Develop scripts or use third-party modules to automate the assignment of images to product variants based on predefined rules or naming conventions.​
  • Consistent Naming Conventions:
    • Adopt a consistent naming convention for image files to facilitate easier mapping and retrieval.​
  • Regular Maintenance:
    • Periodically review and update product images to ensure they remain accurate and relevant.​

At Wan Buffer Services, we specialize in optimizing Odoo's functionalities to enhance your business operations. If you require assistance in setting up bulk image uploads, configuring external storage solutions, or automating image management for product variants.

Avatar
Discard