Hi guys,
I'm using https://github.com/burnbright/silverstripe-shop v. 1.0.
I have added variations to my products.
The variations are based on Size and Color. (Product - Large:Blue, Small:Blue, Small:Black, Medium:White)
Now i would like to show all the Colors for a product in the product list.
But how do i do this?
It would be perfect if someone could show me how i could do the following:
Create a function that gets all the Variations of a product, and then gets all the unique colors of these variations.
(I have extended ProductAttributeValue with a custom field that holds a HEX value of the color)
Result: Product, Colors: Blue, Black, White
Hope someone can help me