is it possible to quickly get a products URL from it's id? We're having an issue where the product URLs of configured (simple child) products are overlapping. By this I mean when 2+ configurations (simple children) of a configurable product are added to the cart the URLs always divert to the first option
$productId with your product ID below. You can also specify different store (or store ID will also work) in the 3rd argument.
$urlKey = Mage::getResourceSingleton('catalog/product') ->getAttributeRawValue($productId, 'url_key', Mage::app()->getStore()); $productUrl = Mage::getBaseUrl() . $urlKey;