I've got a store that is running 22.214.171.124 which was put together by someone else. It seems they've used a "megabuzz.com" manufacturer plugin to add "brands" as a main navigational element.
Brands are then also added to the layered navigation. This is fine as we use canonical to only allow layered navigation filters to canonical to the main category.
However, these megabuzz manufacturer pages display a sidebar with a list of brands with the code below in a sidebar.phtml.
<?php if($brandurl == 'manufacturer'): $manufacturers = $this->getManufacturers(); ?> <?php if (count($manufacturers)): ?> <div class="block block-manufacturer"> <div class="block-title"> <strong><span><?php echo Mage::helper('manufacturer')->getConfigTextLabe(); ?></span></strong> </div> <div class="block-content"> <div class="manufacturer-sidebar"> <ul> <?php $i = 0; foreach ($manufacturers as $manufacturer): ?> <li class="<?php if ($i % 2 == 0): ?>left<?php else: ?>right<?php endif; ?>"> <a href="<?php echo $this->getManufacturerUrl($manufacturer->getId()); ?>" title="<?php echo $manufacturer->getName(); ?>"> <?php //echo $manufacturer->getName(); $arraytitle = explode("-",$manufacturer->getName()); //print_r($arraytitle); echo $arraytitle; ?> </a> </li> <?php $i++; ?> <?php endforeach; ?> </ul> </div> </div> </div> <?php endif; ?>
This isn't very user-friendly and would ideally like to add the layered navigation sidebar filters to the manufacturer pages to replace the above sidebar.
What's the best way to accomplish this?