# How to attach a list of items to different categories?

**URL:** <https://forum.adalo.com/t/how-to-attach-a-list-of-items-to-different-categories/26887>\
**Category:** Get Help\
**Created:** [May 6, 2022, 1:21pm UTC](https://forum.adalo.com/t/how-to-attach-a-list-of-items-to-different-categories/26887 "2022-05-06T13:21:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mannah888](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@Mannah888](https://forum.adalo.com/u/Mannah888)\
**Post date:** [May 6, 2022, 1:21pm UTC](https://forum.adalo.com/t/how-to-attach-a-list-of-items-to-different-categories/26887/1 "2022-05-06T13:21:43Z")

</div>

So I have different categories or departments of a store. And these have subcategories, and even sub-subcategories. So I can spread those out just fine. But when I get to the final subcategory, I then need to attach the actual list of items. How do I attach different lists of items to each individual sub-subcategory?

---

<div class="post-metadata">

**Author:** ![charleshope](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/charleshope/32/25088_2.png) [@charleshope](https://forum.adalo.com/u/charleshope)\
**Post date:** [May 6, 2022, 2:12pm UTC](https://forum.adalo.com/t/how-to-attach-a-list-of-items-to-different-categories/26887/2 "2022-05-06T14:12:06Z")

</div>

Here’s a recommendation:

- Give each of your categories and sub-categories a unique ID number to identify them.
- Then create a relationship between items and categories.
- You can then link each item to a category through their category ID (or you can use the category name as well if you want).

And that’s that. Now each category/sub-category will have their list of items according to that relationship.

---

<div class="post-metadata">

**Author:** ![Mannah888](https://avatars.discourse-cdn.com/v4/letter/m/ccd318/32.png) [@Mannah888](https://forum.adalo.com/u/Mannah888)\
**Post date:** [May 6, 2022, 2:25pm UTC](https://forum.adalo.com/t/how-to-attach-a-list-of-items-to-different-categories/26887/3 "2022-05-06T14:25:43Z")

</div>

Hey there. I was actually making it a lot harder than it needed to be. I just needed to create a database collection of “Items”, give it a relationship to the “Sub-subcategories”, and specify which items belong to which sub-subcategory. My mind was just overthinking that process for some reason. But thanks for the input!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [May 16, 2022, 2:26pm UTC](https://forum.adalo.com/t/how-to-attach-a-list-of-items-to-different-categories/26887/4 "2022-05-16T14:26:38Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
