I’m trying to display a super attribute’s values in product listing for configurable products but it seems that there is no straight way to do this.
My configurable products have different colors which are being displayed in the view as a drop down and I want to show the available color options for each product on product listing for example I have t-shirt which is available in black and white colors and I want to display that in products list like this:
colors: Black , White
Example T-Shirt 2
colors: Black , White , Orange
Example T-Shirt 3
Is there any way to display the attribute value for each product in product listing?!
I know that I can display the attribute value using below code in list.phtml but this code only shows one value for the attribute: