尝试一下:
$currentCatIds = $_product->getCategoryIds();
Run Code Online (Sandbox Code Playgroud)
并且
$categoryCollection = Mage::getResourceModel('catalog/category_collection')
->addAttributeToSelect('name')
->addAttributeToSelect('url')
->addAttributeToFilter('entity_id', $currentCatIds)
->addIsActiveFilter();
Run Code Online (Sandbox Code Playgroud)
干杯,JD