I am looping through each sub-category and spitting out its name,url,image etc.
But I also want to show a "From £XX" for each sub category I show.
What is the best/cleanest method for doing this? My current code is below:
<?php
$currentCat = Mage::getModel('catalog/category')->load('4');
$subCategories = $currentCat->getChildrenCategories();
foreach ( $subCategories as $subCategory )
{
if($subCategory->getIsActive())
{
echo'<h3><a href="'.$subCategory->getUrl().'">'.$subCategory->getName().'</a></h3>';
echo'<a href="'.$subCategory->getUrl().'">';
echo'<img src="'.Mage::getBaseUrl('media').'catalog/category/'.$subCategory->load($subCategory->getId())->getImage().'" alt="Budget Stove" />';
echo'<div class="pl_prod_price">From <span>£00.00</span></div>';
echo'</a>';
}
}
?>