Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Category BreadCrumbs
 
Anjanesh
Sr. Member
 
Avatar
Total Posts:  136
Joined:  2008-03-15
Mumbai, India
 

Hi

$_category->getUrlKey() will return the UrlKey, but because category names arent unique, how do I get the breadcrumb of it ?

$_category->getBreadcrumb() should return something a combination of all UrlKeys till its root category. like this :
accessories-bags-n-wallets

[ I have a category called Accessories and a sub-category under Accessories called Bags & Wallets. ]

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top