在产品详细页显示该产品所有所属分类
$currentCatIds = $_product->getCategoryIds();
$categoryCollection = Mage::getResourceModel('catalog/category_collection') ->addAttributeToSelect('name') ->addAttributeToSelect('url')->addAttributeToSelect('description')->addAttributeToFilter('entity_id', $currentCatIds) ->addIsActiveFilter();
foreach($categoryCollection as $cat){echo $cat->getName() . $cat->getUrl() . $_helper->categoryAttribute($cat,$cat->getDescription(), 'description') . $cat->getDescription(); }
如这种效果