-
- Mageho

-
Total Posts: 290
Joined: 2008-03-24
France, Paris
|
Good morning everybody,
Today, i try to get product from a current category id and i did it successfully !
echo $this ->getLayout() ->createBlock("catalog/product_list", 'id', array('category_id' => 25, 'limit' => 2)) ->setTemplate("catalog/product/list/products_from_category.phtml") ->toHtml();
Only my limit parameters don’t work ?
How do you pass this parameter to the block ?
Thank you,
Cheers
|