Question:Which of the following will get a list of products belonging to a specific category within a view file?
A $productCollection = Mage::getResourceModel('catalog/product_collection') ->addCategoryFilter($category);
B {{block type="catalog/product_list" category_id="7" template="catalog/product/list.phtml"}}
C $productCollection = Mage::getResourceModel('catalog/product_collection') ->addFilter($category);
D $productCollection = Mage::getModel('catalog/product_collection') ->addCategoryFilter($category);
+ AnswerA
+ Report