<pre>
$cat
= Mage::getModel(
'catalog/category'
)->load(1);
$coll
= Mage::getResourceModel(
'catalog/product_collection'
);
->addCategoryFilter(
);</pre>
reference: http://jaseir.com/magento/category-product-collection/
No comments:
Post a Comment