Which of the following code samples will display a list of both active and inactive sub-categories of the current category?
Answer
Correct Answer: • <?php $_helper = Mage::helper('catalog/category'); $_categories = $_helper->getStoreCategories(); if (count($_categories) > 0): foreach($_categories as $_category): ?> <a href="<?php echo $_helper->getCategoryUrl($_category) ?>"> <?php echo $_category->getName() ?> </a> <?php endforeach; endif; ?>
Explanation:
Note: This Question is unanswered, help us to find answer for this one