2011-03-03 5 views

답변

15

이 모든 젠토 버전에서 작동합니다 :

$products = Mage::getModel('catalog/product')->getCollection(); 
//Magento does not load all attributes by default 
//Add as many as you like 
$products->addAttributeToSelect('name'); 
foreach($products as $product) { 
//do something 
} 
..... 당신이 나를 구원이 카테고리는 더 명확
+0

덕분에 사람을주십시오 수있는 곳에서 어떤 카테고리 –

+0

$가 실종 첫 번째 줄. – Gogol

관련 문제