[转]Magento 获取当前分类名称

<?php
    $currentCat = Mage::registry('current_category');
    var_dump($currentCat->getName());
?>

From: https://blog.csdn.net/github_26672553/article/details/51576241

 

posted @ 2021-06-17 14:32  ec04  阅读(49)  评论(0编辑  收藏  举报