Get URL for a Magento Category


/ Published in: PHP

This will return the URL for the category specified (17 in this case)


Copy this code and paste it in your HTML
  1. Mage::getModel('catalog/category')->load(17)->getUrl();

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.