Search This Blog

Monday, 2 September 2013

Get product URL without categpry and product ID

$product = Mage::getModel('catalog/product')->load($productId);
$url = Mage::getUrl($product->getUrlPath());

No comments:

Post a Comment