I'm using Exp-resso Store and need my products categorized (like a typical e-commerce site). What is the best way to categorize products? The product categories are n-level deep.

I don't see how to create parent-child relationships in EE Categories, though reference I've found on the Internet and here on SE seem to suggest that there is no limit to the levels of categories.

Or perhaps I should try creating a Channel that has a relationship field and try to mimic categories that way?

My questions:

  1. Can EE Categories be nested? If so, how?
  2. Is it possible to programmatically populate EE Categories (e.g. via API, DataGrab, etc.)?
  3. Would using the relationship field to implement categories be a bad idea? I know I can populate this via DataGrab, which makes it a tempting solution for me (at least it'll be easy for me to populate -- and possibly easy to also assign products to their respective categories?)

1 Answer 1


It's definitely possible to nest categories and use them in the URL structure. It does take some fiddling to get it to work and the deeper the nesting the more difficult it can be to template.

That being said, there is usually an option to assign categories on import dependent on which module you use. I've seen an option for it in Solspace's importer module.

This is the EE categories documentation

  • I need each Category to have a custom field to contain a unique key from my source data. It's through those keys that'll let me know what the relationships are of the categories. Does EE Categories have a concept of custom fields (like Channel fields)? I actually don't know what the structure is of the categories tree -- but each product information I get will be associated with a category, which I need to import into EE. Jun 10, 2014 at 9:06
  • Have you looked @ the docs? ellislab.com/expressionengine/user-guide/cp/admin/channels/… Jun 10, 2014 at 9:45
  • OK, I see how to add custom fields to categories. I still do not see how to nest categories. Should there be a way for me to define parent-child relationships somewhere? Jun 12, 2014 at 21:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.