Get URL for a Magento Category

/ Published in: PHP
Save to your folder(s)

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


RSS Icon Subscribe to comments

You need to login to post a comment.