I’m looking to get the date a product was added and use it on listing pages (via /template/catalog/view.phtml).
I can successfully use the $_product->getCreatedAt() function on the product page itself, but it does not work on the listing pages.
I was hoping as I am using the flat catalog that it would just be a case of configuring the relevant attribute setting of “Used in Product Listing” to Yes. But the Created At field is not stored as a normal product attribute it seems.
Therefore I assume I need to add a function to pull this out in the /code/..../Catalog/Block/Product/View.php
The trouble is I’m not sure how to write in
Anyone out there who can help me?