Funny how we never thought of that! Unfortunately, it's going to require a bit of custom code. To show the color blocks we add the "blocks" as descriptions using hook_form_alter() and use javascript to hide the actual radio form part and make the descriptions clickable.
I've added this request as a feature request on the main commerce_search_api module.
http://drupal.org/node/1943150 ... I hear there may be some movement on this request soon (no promises, but the Kickstart 2 lead really like this idea!)
But I don't succeed to make it work. I don't see any extra widget display in my facet's display settings. I just applyed the patch provided. Any idea, what else I missed ?
Comments
I've added this request as a feature request on the main commerce_search_api module.
http://drupal.org/node/1943150 ... I hear there may be some movement on this request soon (no promises, but the Kickstart 2 lead really like this idea!)
Thanks a lot. The patch already provided is great.
But I don't succeed to make it work. I don't see any extra widget display in my facet's display settings. I just applyed the patch provided. Any idea, what else I missed ?
I should note for historical purposes that the new widget became a part of Commerce Search API 7.x-1.1