I want to display the products according to the categories and make them list of all the products related to that category.
So far I have tried using this code:
{{block type="catalog/product_list" category_id="18" template="catalog/product/list.phtml"}}
And in this category there are 10 products.
But the output gives me There are no products matching the selection.
Can anyone please help me to achieve this. Thank you.
catalog/product_list
block.