Magento providing us to create search engine friendly (SEF) URL’s from admin->catalog->URl Rewrite Manager. This awesome feature in Magento admin to create SEO friendly URL’s. We create SEF URL manually, Manually sounds stupid for 1000 URL’s. So while creating front-end modules we need to take a notice at SEF URL using programming coding. So Let’s […]Read more..
Here, i am going to post simple Magento tweak. That is how to get the product URL by product id. Sometimes we only have the product id, That’s enough to get all the product instance.So using below code we can get the product url by id. $my_product = Mage::getModel(‘catalog/product’)->load($product_id); $my_product_url = $my_product->getProductUrl(); Hope it helps […]Read more..