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
was able to resolve by adding conditional statement around block of code:
add:
if($category->getIsActive()) {
prior to following code
if ($category->getId()) {
$this->setCategoryId(current(array($category->getId())));
add closing bracket for conditional statement prior to:
return $list;
}
This question is now closed