Creating category-based navigation to a filtered list

I want to have a page like the first screenshot below, where a user can click on one of the categories. When they do, it should display a filtered view of another page — the “Vacation Rental Shopping List” (shown in the second screenshot) — filtered by that category.

I tried using the “Agent,” but it didn’t give me clear guidance. When I asked it to build what I had in mind, the output completely missed the mark.

Create a relation in the category table linking that category to the category indicated in the shipping list table. Then change you collection of shopping list items to be sourced from the relation instead of the table.

Alternatively, since you are viewing the category detail screen when you select a category, you can still source your shopping list collection from the shopping list table, but filter it by the shopping list category by the Screen value category, which is the category from the selected category item.

1 Like