cancel
Showing results for 
Search instead for 
Did you mean: 

Set CSS according to product attribute value

Set CSS according to product attribute value

How can I set a CSS according to a product attribute value ?

 

For instance, set the background-color of a product to green if my attribute color_code is "green", etc...

Tags (2)