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

Custom Date Attribute on list.phtml
 
mikemm
Jr. Member
 
Total Posts:  22
Joined:  2009-09-23
 

I’m not able to get the value of a custom product attribute (of type date) on the product list page (template/catalog/product/list.phtml). I can get the values of all other attribute types except this date one. I have the attribute set to “Use in Product Listing = Yes” and I’ve verified that the attribute and value is in the flat product table.

I’ve tried the following to no avail…

$_product->getInstockDate();
$_prodcut->getData(’instock_date’);

Any ideas?
Thanks
Mike

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