Copy link to clipboard
Copied
I'd like to create an image of a product that changes based on different attributes that are selected beside it, like how you'd see on an ecommerce product page. It's just a prototype, so I don't need it to have any functionality beyond just allowing someone to customize the image.
For my 2 attribute selections, I have checkboxes with toggle states:
I also have the 4 different images for each unique combination of atributes, which will appear beside the checkboxes.
How do I make the visibility of an image triggered by specific combinations of attributes? The logic would be:
Thanks in advance!
Have something to add?