Jump to content

display category names in the custom page


knimdeo

Recommended Posts

Hi,

I want to display all category names in the custom page that i have on backoffice. i am using this method

 $categories = CategoryCore::getCategories(); to fetch category array. i am getting an array as a result but i want only top category names to display. any ideas how i will get only top category names . even from db how would i get only top categories?

Edited by knimdeo (see edit history)
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...