To get category’s URL by its ID use the following code

<?php echo Mage::getModel("catalog/category")->load(CATEGORY-ID)->getUrl() ?>

Pin It on Pinterest

Share This