How I can get the products from a specific category with name, image and description?
Michael
$productCollection = Mage::getResourceModel('catalog/product_collection')
->addCategoryFilter(CATEGORY ID);
foreach($productCollection AS $_product)
{
echo $_product->getName();
echo $_product->getImageUrl();
echo $_product-> getDescription();
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.