When I click on an item in a repeater–like a gallery–on a dynamic category page, a dynamic item page is displayed and correctly shows the details of that item. Also, my item page has next and previous buttons that scroll through other items, but only those belonging to the same category as the item originally selected in the category page .
I also have a button somewhere on my site that links directly to the item page to display a particular item (bypassing the category page). But now the next and preview buttons scroll through the entire collection–all the items regardless of their categories.
How can I get that second scenario to behave like the first, so that scrolling is limited only to the items belonging to the same category as the item originally selected by the button?
Wix won’t allow me to filter a dataset on a value set dynamically, from what I can tell…
Thank you!