Magento Forum

   
how display a only product
 
osmodiars
Jr. Member
 
Total Posts:  7
Joined:  2008-08-11
 

hi,

i need show a only product in the home page, for example:

$product=getProductById(5);
$product=productName(); //title
$prpduct=productIMG(); //image

and more…

is posible? exisit this function?

thanks for your helps smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
demonkoryu
Guru
 
Avatar
Total Posts:  328
Joined:  2008-11-26
Dortmund, Germany
 

$product = Mage::getModel(’catalog/product’)->load(5);

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