Get array of all active category ID's
-
04-10-2020 - |
문제
How do I get an array containing the ID's of all active categories?
해결책
$activeCategories = Mage::getResourceModel('catalog/category_collection')
->addAttributeToFilter('is_active', 1)
->getColumnValues('entity_id');
제휴하지 않습니다 magento.stackexchange