Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $product_collection = Mage::getModel('catalog/product')->getCollection()
- ->addAttributeToFilter('entity_id', 16)
- ->addUrlRewrite();
- $product_collection_url = $product_collection->getFirstItem()->getProductUrl();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement