<select name=”” style=”width:220px;” onchange=”location.href=this.value”>
<?php $children = Mage::getModel(‘catalog/category’)->getCategories(YOUR_CAT_ID); ?>
<?php $children = Mage::getModel(‘catalog/category’)->getCategories(YOUR_CAT_ID); ?>
<?php foreach ($children as $category) { $i++;
$cat = Mage::getModel(‘catalog/category’)->load($category->getID()); ?>
<option value=”<?php echo $cat->geturl(); ?>” <? if(Mage::registry(‘current_category’)->getId()==$category->getID()) echo ‘selected’;?>><?php echo $category->getName(); ?></option>
<?php } ?>
</select>
(Visited 86 times, 1 visits today)