Created
October 24, 2014 10:50
-
-
Save pauldonnelly/4b7339fa9f7fcb886c5e to your computer and use it in GitHub Desktop.
Get Parent Category Name in Magento
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $parentname = $this->getCurrentCategory()->getParentCategory()->getName(); echo $parentname; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment