Display Related Collection Items Filtered By Current Item's Reference Field On Detail Page - Question | JoomShaper

Display Related Collection Items Filtered By Current Item's Reference Field On Detail Page

jean luc trevilly

jean luc trevilly

SP Page Builder 2 days ago

Hi, I'm building a "Similar Projects" section on my Dynamic Details page using SP Page Builder Pro 6.2.3. My setup:

Collection: "Realisations" (main collection) Collection: "Categories" (separate collection with 6 items: Appartement, Maison, Studio, Bureau, Commerce, Objet) Field "Categorie" in Realisations = Reference field pointing to Categories collection

On the Detail page, I want to display 3 other items from the Realisations collection that share the same category as the current item being viewed — a "You may also like" section. I added a Collection addon (source: Realisations, limit: 3) at the bottom of the Detail page and tried to configure the filter:

Field: Categorie Condition: "Est inclus dans" / "Is included in" Value: → only shows static category choices, no dynamic/current item option

I also tried:

Condition: "Est associé à" / "Is associated with" Association field: → grayed out, not selectable

My question: How can I filter a Collection addon on a Detail page so it only shows items with the same Reference field value as the current item? Is there a specific condition or configuration I'm missing? I've seen this demonstrated in your tutorial video on dynamic portfolios — is this feature available in version 6.2.3? Thank you!

0
3 Answers
jean luc trevilly
jean luc trevilly
Accepted Answer
15 hours ago #220621

An Idea ?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 10 hours ago #220642

Hello jean luc trevilly,

Thanks for the detailed explanation — your setup is perfectly clear, and you’re very close. The limitation you’re hitting is actually expected behavior in SP Page Builder Pro.

🔍 Why your current approach isn’t working

In this version, the Collection addon filter does not support dynamic context from the current Detail item (i.e., it can’t automatically take the current item's Reference field value like “Categorie” and use it as a filter).

That’s why:

The Value field only shows static options (manual selection)

The “Is associated with” condition is disabled — it’s not functional for this use case in this version

Best regards

0
jean luc trevilly
jean luc trevilly
Accepted Answer
10 hours ago #220644

Thank you, that's what I thought. Will it be possible to do this in a future version ? And How to reproduce simila projects like "Final Result" in this page : https://www.joomshaper.com/blog/create-a-dynamic-portfolio-website-in-joomla

0