How to show parent catregory title on sub category page ?
Im trying to figure out the code to show the top level parent category title on sub category pages. In my design I need to show the current category being viewed and the top parent category title. This is like a bread crumb but the two titles go in very different places in my design.
If Im viewing Category 1 > sub cat 1 > sub cat 2 then I would like to display two tiles on this category page – Category 1 and sub cat 2
If Im viewing a product inside sub cat 2, then its the same thing only my page will also show the product title.
- The topic ‘How to show parent catregory title on sub category page ?’ is closed to new replies.