Magento – Mage::helper(‘catalog/category’); not displaying all categories

categoryhelper

This was already asked in this thread but didn't get a correct response.

I also did the two answers in the previous thread.

I need Mage::helper('catalog/category'); to display all categories, not just those that have "Include in Navigation Menu" checked.

Best Answer

I also need to use Mage::helper because using what you said returns nothing

You need to use Mage::helper, because this returns nothing? This argument is wrong :-)

Get a collection of the categories, filter them if you want:

$categories = Mage::getResourceModel('catalog/category');
foreach($categories as $cat) {
    echo $cat->getName();
}

If this return nothing, please tell me, what you are doing.

Related Topic