Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Getting a product by its ID
 
paulmorrison
Jr. Member
 
Total Posts:  11
Joined:  2007-11-21
 

I wan to show bit of my simple product within my configurable product, how do I get a product object by its ID so I can call product methods on it.

Doesn’t seem to be a method available, maybe I’m blind wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
Michael_1
Enthusiast
 
Total Posts:  826
Joined:  2007-08-31
 

$product Mage::getModel('catalog/product')->load($productId);

Isn’t that what you are asking for ?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top