Inactive Categories Showing Up in JM Category List

Inactive Categories Are Showing Up in JM Category List. Note: We have both flat categories and products enabled. What code changes need to be made to exclude inactive categories from the extension.

1 answer

Profile photo of Jamie Carroll 0.00 $tone October 2, 2012

was able to resolve by adding conditional statement around block of code:

if($category->getIsActive()) {

prior to following code
if ($category->getId()) {

add closing bracket for conditional statement prior to:
return $list;


This question is now closed

Written By