Using a tree-like field for categories and sub-categories

I have website that has a product catalog. I have a taxonomy where I have categories and each category has one or more sub-categories. For example…

Seating

  • Task Seating
  • Outside
  • Conference Seating
  • Multi-use Seating
  • Lounge & Guest
  • Modular
  • Stools

Lighting

  • Ceiling
  • Floor
  • Wall
  • Outside

When I create categories in the Categories model, I use the tree-like collections to organize the taxonomy and the parent/child relationship is very obvious. However, it’s not as obvious when editing a product to specify categories.

When I edit a product, I want to assign the parent category and one-or-more sub-categories. It displays a list of all categories and sub-categories in a flat list that looks like this.

  • Ceiling
  • Conference Seating
  • Floor
  • Lighting
  • Lounge & Guest
  • Modular
  • Multi-use Seating
  • Outside
  • Outside
  • Seating
  • Stools
  • Task Seating
  • Wall

From what I can tell, there’s no way to display the parent-child relationship when editing a product that contains the category field. This is causing confusion when trying to assign a category and sub-categories because it’s not obvious which ones are parents and which ones are children. Even more, if one category has the same name (e.g., Outside) it gets really confusing for me.

Am I missing something or perhaps there’s a better way to accomplish this functionality?

Hey @damon.morda welcome to Community!

I’m very sorry for the delay in getting back to you here, but you are perfectly right about what you are reporting. We don’t show the tree-like structure as a tree when linking that from somewhere else.

We’ll see what we can do here. We’ll give you a feedback whenever we change something on our end. Thank you very much for your feedback!

Thanks @mat_jack1. For now, I’m going to implement that differently without using the tree-structure to avoid confusion with users creating content.