Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How can I get all the empty children categories of a particular category? 
 
muk_t
Sr. Member
 
Total Posts:  226
Joined:  2012-07-24
 

Hi,

I want get all the empty children categories of a particular category?How can I do this?

I am able to fetch all the children categories,like this

$all_child_categories[] =$category_model->getResource()->getAllChildren($_category);

But I want only empty subcategories.Is there a way to achieve this?

Please help.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top