Category Tree

Posted 1 year ago by mathishuettl

Hello,

I have a simple Category-Table with (ID, Title, parent) if it's a root category the parent is 0. Now I want to build a category tree with a dash (-) for each level like this:

Products
-Old Products
--Cheap Products
---...
----....
--Expensive Products
-New Products

How can i realize this?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.