I made a new Product Dropdown Attribute that will show on a Group Product Page.

My idea:

```
<?php IF echo $this->htmlEscape($_item->getAttributeText('etickettype')) = 'GREEN'?>
<img src="/Picture-GREEN.jpg">
<?php IF echo $this->htmlEscape($_item->getAttributeText('etickettype')) = 'RED'?>
<img src="/Picture-RED.jpg">
<?php IF echo $this->htmlEscape($_item->getAttributeText('etickettype')) = 'BLUE'?>
<img src="/Picture-BLUE.jpg">
<?php endif; ?>

```

I know this code is not the correct, but does anyone know how I can find or explain the correct code?