I have a mock-up of what I'm trying to achieve here:

I'd have a row of buttons "choose style": flat, stiletto, sandal
And a row of buttons "choose colour": red, green, blue

Step1 - user would choose a style and have the main image change eg stiletto

Step2 - user would choose a colour, and this would combine with the chosen style to show a red stiletto

I was wondering if anyone had anything like this ? I've seen "chained selects" but I'd need it for buttons and for it to change the image each time.