I'm trying to change the view of the product variation. Let's say I'm selling t-shirt in different color so I create the taxonomy with the color and a small image of the color. I create the term reference in product and enable the "Attribute field settings". Now when i display a product i should be able so see the image of the taxonomy to choose the color but it shows me just the title in a select list or radio button. How can I override it?

Thanks in advance.


You need the Commerce Fancy Attributes module.

  • Hi Bojan, I've just read about it here drupal.org/node/1180016 but here you need to add the hex color... I was trying to get the image from the taxonomy and I'm sure there should be a method. – Tyler Durden Jul 31 '12 at 13:52
  • The mechanism is the same (you still need the same module). Hex color + formatter, or image, works the same. – Bojan Zivanovic Jul 31 '12 at 15:33
  • Ok, I will try it. Maybe the hexadecimal looks impossible for the editor but it's better than create all the images for all the colors :) – Tyler Durden Jul 31 '12 at 15:35
  • The hex field needs a color picker on top, I just haven't had the time to do it yet. – Bojan Zivanovic Jul 31 '12 at 15:39
  • I will put a link to a website with the list of the hex color on the field description. Should be fine for the moment :D I will use this module, thanks a lot. – Tyler Durden Aug 1 '12 at 9:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.