My code:

 $category = Mage::getModel('catalog/category');
    $category->setIsAnchor(1); //for active achor
    $parentCategory = Mage::getModel('catalog/category')->load($parentId);

Now i dont want to show category in menu i m using setDisplayInMenu but its not working how can i do this


If you don't want to show category in menu than u have to use this

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.