Odoo Help

1

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

By
devza
on 10/18/14, 6:55 AM 1,014 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?

0
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

devza
on 10/18/14, 7:22 AM

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

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