나는이 기사를 읽어 http://inchoo.net/ecommerce/magento/how-to-add-new-custom-category-attribute-in-magento/comment-page-1/Magento : 다음 코드에서 어떤 테이블을 사용해야합니까?
설치 코드의 일부가 여기
//this will set data of your custom attribute for root category
Mage::getModel('catalog/category')
->load(1)
->setImportedCatId(0)
->setInitialSetupFlag(true)
->save();
//this will set data of your custom attribute for default category
Mage::getModel('catalog/category')
->load(2)
->setImportedCatId(0)
->setInitialSetupFlag(true)
->save();
두 질문 :
기능 부하가 매개 변수가이. 그것은 신분증입니다. 어떤 테이블을 사용해야합니까?
여기에 setImportedCatId는 무엇입니까? 그것은 세터지만, 나는 그것을 위해 무엇인지 이해하지 못한다.
전체 프로젝트에서 'imported_cat_id'를 찾지 못했습니다. – Anthony
약간의 레거시 코드가있을 가능성이 있습니다. –