Jump to content

Get main category name in tpl


Recommended Posts

Hello,

I need to get main category name in few level deep subcategory tpl.

ex:

Main category 1
> Sub 1
>> Sub 2
>>> Sub 3

Main category 2
> Sub 21
>> Sub 22
>>> Sub 23

Whan i'm on subcategory Sub 3 i need to display something like this: Your in category "Main category 1".

Is that possible?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...