esustacha
(Esteban Sustacha)
1
Hello,
I’m looking for an effective way to make a collection list filters dynamically based on a CMS variable from the current CMS page and data.
e.g. show only filtered vehicle recommendations (cms) based on current vehicle page brand
Thanks for the help!
2 Likes
StacyFA
(Stacy Sawin)
2
Hey - Did you ever figure this out? I have the same question.
I’m also trying to figure this out. This seems like it should be a default feature.
There should be the option to add a variable to the filter.
harikshore
(Hari Kshore)
4
Hello @Webster_Jorgensen @StacyFA @esustacha
I think its possible to show vehicle recommendations based on current vehicle page brand
You need to set a parent child relation ship between the brand and the vehicles.
Like
Brands will be a collection
Vehicles will be a collection
Brands will have a multi-reference field to add associated vehicles.
Vehicles will have a single-reference field to add its parent brand
And now you can set the filter option in the reccomendation collection list to Brand contains “Current Brand” & Sort option to random.

Hope it solves your issue.