I have a category structure which goes Socks>>Casual>>No-Show, Crew and would like the URL to be socks/casual/no-show.html, for example.

However, I would like the generated top navigation menu ("topMenu") to skip the 2nd level, i.e. "Casual", so that the dropdown menu shows Sock>>No-Show, Crew.

What's the best way to do this?

Thank you!

1 Answer 1


You can create URL rewrites for all your categories where the 2nd token has to be dropped. Then you can observe page_block_html_topmenu_gethtml_after event and modify the main menu links.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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