Based on a custom category attribute created I want to show a link (right next to the category in drop-down menu), on top navigation.
I tried to achieve via
render.ptml where the menus are created, but I couldn't get a category id.
For parent id i was able to get get id from:
$catname= $child->getId(); $catname = explode('-',"$catname"); $parntid=(int)$catname['2'];)
How can I do that for all categories?