Odoo Help


How can I replace attribute values with icons/tiles/images in frontend e-commerce (8.0 RC1)?

Luke Branch
on 7/19/14, 1:19 AM 1,403 views

Hi, I'm interested in substituting attributes with icons, images, or colour tiles for the E-comerce frontend. I've seen this implemented in the runbots in regards to colour/size tiles. What I would like to implement is colours, tiles, or images for various attributes for products whether they be configurable products (eg. the frontend user gets to choose between a black or a white ipad) as well as simple product attributes that might be applied across a range of products that are simply there for information rather than to configure your product.

An example of the simple (ie. not-configurable) product attributes icons/images I would like to achieve can be seen at the very bottom of the page found at the following link:


I would be aiming to implement this as a snippet to be compatible with the current bootswatch and design-themes branches found at github.com/odoo/design-themes that would be forked from the main design-themes branch as a template. I think this would be an incredibly useful tool and would allow for mass update of product attributes via CSV that would allow for a nice presentation of the features in a visual way without having to update each product page individually by hand.

I will post back here with what I find, however if anyone has any insight into how the image/icon/colour tiles can be attached to a product attribute please comment below as I value any insight into how this might be achieved.

As I have not seen any movement on this in the odoo-dev branch I have decided to build my own: https://github.com/OdooCommunityWidgets/website_product_swatch_extended There is some work to do in the website_multi_image module that I would like to make compatible with this module to allow for selection of image swatches on variants, however after that is done I will begin working on the above module. If anyone has any suggestions, feature requests, or issues please create an issue on github: https://github.com/OdooCommunityWidgets/website_product_swatch_extended/issues

Luke Branch
on 12/17/14, 3:07 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.


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

3 follower(s)


Asked: 7/19/14, 1:19 AM
Seen: 1403 times
Last updated: 3/16/15, 8:10 AM