With dynamic collections, we have an index page and a detail page.
I have a collection A, and each item in collection A belongs to a category C1, C2, etc.
From the index page, I can display the item from collection A on the detail page; so far, no problem, I know how to do that.
But on the detail page, I want to display other items from the same category (that is, similar items).
However, I haven't found a way to do this, and it seems impossible. I can only display items from all categories or those from a category chosen beforehand using the filter.
I've already asked this question; is there a solution?
Index
Item 1-Category 1
Item 2-Category 1
Item 3- Category 2
Item 4- Category 3
Item 5 - Category 2
If I click on Item 1 :
-> detail
Item 1 (detail)
similar item :
Item 2
if I click on Item 5 :
-> detail
Item 5 (detail)
similar item :
Item 3