I have one category "A". Category A has two sub-categories B and C.Category A is coming in top menu under which two subcategories B and C are also coming. Its fine.

Now I want to remove anchor tag from category A but keep on B and C. How can this be achieved?

  • are you using RWD theme ? OR provide name of the theme Jun 21 '16 at 7:24
  • @AnilSuthar I am using Porto theme. Jun 21 '16 at 8:19

Their is no way to remove the anchor tag from a menu node afaik without using a module or writing your own logic.

You need to look through the method:

_getHtml(Varien_Data_Tree_Node $menuTree, $childrenWrapClass)

In the class:


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.