Jump to content

[SOLVED] How to get name of root category


marty69

Recommended Posts

Hello,

 

I have 3 main categories A, B and C in my shop. Each with a lot of sub-categories.

 

I wonder how to display the name of the root category (A, B or C) wherever we are respectively in one of these categories.

 

Is there a hack to do in bloccategories.php ? Or a variable still exist somewhere (something like $currentCat.parent) ?

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...