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