Categories and subcategories - How to

The approach explained by Thinh will work fine as well, though it’s not as versatile: should you need to add another level of sub-categories, you’ll need to adapt the database architecture. The method I showcased takes potential future changes into account.

I don’t think there’s any better method though, it’s only a question of preference.

2 Likes