Use the following code to load a product by id:
|
1 2 |
$productId = 1234; $product = Mage::getModel('catalog/product')->load($productId); |
Loading a product by id
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.