Magento new products are not showing in homepage
magento, magento-1.7
Solution
In default Magento implementation of `catalog/product_new` block the rules are:
the product should be visible in catalog
the product should have both `news_from_date` and `news_to_date` attributes set to some values
- attribute `news_from_date` works till end of today's date (23:59:59) and attribute `news_to_date` works from the begin of today's date (00:00:00)
When there be at least one product that meet that requirements the block will be rendered. Also flushing your cache and reindexing data could help as well.
Problem
In magento I want to show new products in my home page. So to do that I have searched many blogs and forums. From all of them I have got that by using `{{block type="catalog/product_new" block_id="new.products" template="catalog/product/new.phtml"}}` in CMS -> Homepage content I will get the new products. But still I am not getting any products. Also I have tried to change the date active . But it is not showing any products. So can someone kindly tell me what is the issue here? Any help and suggestions will be really appreciable. Thanks