Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Is it possible to change attribute color to image on website shop?

on 10/18/14, 6:55 AM 806 views

Hello everyone,

I'm creating a website shop and I have some product with color attribute. My problem is, that I have let's say blue, green and green-blue. When I'm setting attribute color I am only limited to single color, but I want two colors on my attribute box. So is there a possibility to place there an image? I saw that red cross which shows when color is not available is a png image.
It'd be good standard option since sometimes we sell product that ain't single color eg:

It's not gray, nor white. So the only possibility to show color would be to place an image.

Any suggestions?

Tim Norton
On 10/18/14, 7:19 AM

I would like this too as some of our inks are metallic and this is best seen in an image.

What I have done is for each product variant, added a unique product image. 
This worked if I was logged in but not as a public user. 
To fix this I need to add ir.ui.view read/write access to the public  user group to allow images to change when selecting different variations of products

This is done in Groups/Public Access Right

Adding image for product variant works, but how to show that choosing color attribute box you will get that image (color)? Looks like some changes in javascript

on 10/18/14, 7:22 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)


Asked: 10/18/14, 6:55 AM
Seen: 806 times
Last updated: 3/16/15, 8:10 AM