Magento – how to set only 4 products of a specific category on home page

magento-1.9product-listproducts

i'm working on magento 1.9 with b-responsive theme. i want to show only 4 product of a specific categoy on my home page but unable to do so.
i have changed the product page and it shows all product without pagination on a single page for every category.

for that i have copied app/code/core/Mage/Catalog/Block/Product/List/Toolbar.php to app/code/local/Mage/Catalog/Block/Product/List/Toolbar.php and change the line:

$limit = 'all';

now it shows all products of that category in one page.but on my home page when i call a block i want to show only 4 product of that category.

Here is my code on my home page:

{{block type="catalog/product_list" column_count="4" category_id="16" template="catalog/product/list_notoolbar.phtml"}}

and it showing all product of that category but i want to show only four products.how can i achieve that.

Best Answer

Try this adding limit, just like this:

{{block type="catalog/product_list" limit="4" column_count="4" category_id="16" template="catalog/product/list_notoolbar.phtml"}}