カテゴリの問題の下にあるすべての製品を取得しようとすると、コードに問題があります。私が間違っていることについて何か助けていただければ幸いです。これが私のコードです。
$cattegoryId= Mage::registry('current_category');
$category = Mage::getModel('catalog/category')->load($categoryId);
$_productCollection = Mage::getModel('catalog/category')
->getCollection()
->addAttributeToSelect('*')
->addAttributeToFilter('category_id',$category)
->setOrder('entity_id', 'DESC')
->load()
;