To get a categories URL by category id, use the following code:
|
1 2 |
$categoryId = 55; $url = Mage::getModel("catalog/category")->load($categoryId)->getUrl(); |
Getting a category URL using the category id
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.