Dynamic Similar Items - Question | JoomShaper

Dynamic Similar Items

jean luc trevilly

jean luc trevilly

SP Page Builder 5 days ago

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

0
5 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 4 days ago #221164

Thank you for sharing the details, and we sincerely apologize for the inconvenience.

Unfortunately, with the current system, this functionality cannot be achieved using a Reference or Multi-Reference field. To implement the “You might also like” feature, we recommend using an Option field instead of a reference; this approach will allow the filtering to work as intended.

We have also discussed this limitation with our development team, and they are planning to improve the handling of Reference/Multi-Reference fields in a future update.

We truly appreciate your patience and understanding regarding this matter.

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 5 days ago #221133

Thank you for reaching out.

We sincerely apologize for the inconvenience caused.

To properly investigate the issue, could you please share your dynamic content collection setup? Additionally, if possible, provide temporary access to your site (admin access). This will allow us to review the configuration in detail and identify the root cause more efficiently.

We appreciate your cooperation and look forward to resolving this for you.

0
jean luc trevilly
jean luc trevilly
Accepted Answer
5 days ago #221147

This is a feasibility request: To understand, in Joomla I can display a "You might also like" module in a blog post, and the articles displayed in this module are in the same category as the page's featured article. I want to replicate this on the details page of a collection, displaying three items belonging to the same category at the bottom of the page. My items are all in a collection, and I have a category collection, but I can do it differently. What I want is for the item displayed on the details page to determine the items displayed at the bottom of the page. I can't explain it any better than that.

Specifically, you might also like to display items that are common to a field of the displayed item.

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 4 days ago #221151

Thank you for the detailed explanation — we understand your requirement.

Yes, this type of functionality may be achievable, but it depends on how your collection and fields are currently structured.

To proceed, could you please share your collection structure, specifically:

  • How your main collection (items) is set up
  • How the category is assigned (e.g., relationship field, select field, etc.)
  • The category collection structure (if used)

Once we review your setup, we’ll be able to confirm feasibility and guide you with the appropriate solution.

We appreciate your cooperation and look forward to your response.

0
jean luc trevilly
jean luc trevilly
Accepted Answer
4 days ago #221160

I have a "projects" collection with several fields and a reference field to a "category" collection. My category collection contains only the name of each category.

I can modify the structure without difficulty

0