How to get create date of product in magento?

To get create date of product you have to put this code in your phtml file and this phtml file was called by the page where you want to showing it.



<?php echo Mage::getModel(‘catalog/product’)->load($_product->getId())->getCreatedAt();?>

Post A Comment

Your email address will not be published. Required fields are marked *