5 users online. Create an account or sign in to join them.Users
Datasource filtering with a ds- param
This is an open discussion with 2 replies, filed under Troubleshooting.
Search
Have you tried:
{$product:$ds-category-products}
?
Ah now I feel silly!
Thanks mate, you just saved me alot of frustration.
Create an account or sign in to comment.
I have a datasource that needs filtering by boat name if a boat is provided, otherwise it filters by the boats that are assigned to the category you are in.
For example:
/images/power/ - should return all images whos boat (a select box linked to boats) is assigned to one of the boats in my ds- param.
/images/power/new-boat-01/ - should return only the images with their boat assigned as new-boat-01.
My filter for the images data source is: {$product}, {$ds-category-products/item/@handle}
$ds-category-products is a list of nodes with the boat name handles I'm searching against on the handle. But the search always returns 0 results when I don't provide a boat name.
I assume this is because it doesnt know how to handle looping through each item nodes.
Is there another way around this? I don't want to have to assign a category and boat to each image when the category is already assigned to each boat.
Thanks
UML diagram: http://t.co/YKUJS9ID