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

Mark Products as New in Product Listing
 
Julian B.
Member
 
Total Posts:  44
Joined:  2008-05-14
 

Hello once again,

My latest attempt to customize Magento is to mark products, which are currently set as new (by the ‘news_from_date’ and ‘news_to_date’ attributes).
However I have failed to find or write a function which determines, whether or not a file is currently set as new.
All I have found were hints regarding the functionality to add these products to your Home Page. I have looked at the code in the New.php file. However, this function works with filters, which can’t be the solution to my problem because I don’t want to filter, but only to mark the products.

Could anyone give me a hint?

Regards,
Julian

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