|
Hi there,
I asked a while back but got no responces close to what I wanted to try to do so I’ve had a little go myself.
I’m attempting to add the attribute dropdown on the catalog pages (list.phtml).
So far I’ve got everything working apart from when I add the following code:
<div class="product-attributes"> <table cellspacing="0"> <?foreach($this->getAllowAttributes() as $_attribute):?> <tr> <td class="label"><?=$_attribute->getLabel()?>:</td> <td> <select name="super_attribute[<?=$_attribute->getAttributeId()?>]" id="attribute<?=$_attribute->getAttributeId()?>" class="required-entry super-attribute select super-attribute-select"> <option><?=$this->__('Choose an Option...')?></option> </select> </td> </tr> <?endforeach;?>
Is there an easy way to fix this or something I need to add into the xml layout files? Any help would be greatly appriciated.
Cheers,
Ben.
|