Is there any way to get New Products List from specific Category with Widget in CMS Pages? I have tried specifying category ID using category_id="12"
but it is pulling latest products from all the categories.
Below is the Widget code which I am using:
{{widget type="catalog/product_widget_new" category_id="12" products_count="4" template="catalog/product/widget/new/content/new_grid.phtml"}}
Best Answer
The new products widget does not support filtering by category.
but you can create your own block
[module]/product_new
that extendsMage_Catalog_Block_Product_New
.the only thing you need to add in your block are these methods.
Now all you need to do is use your block in the
{{block}}
directive