Magento – Load Category by ID (in php)

  • by
$_category = Mage::getModel('catalog/category')->load(2);
$_category_url = $_category->getUrl();

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

This site uses Akismet to reduce spam. Learn how your comment data is processed.