I’m a bit stuck. I have a vendors channel and a products channel. In the products channel, I have a relationship field for vendor. Ordinarily, displaying a vendor-specific list of products would be simple - reverse relationship within the vendor loop. However, I need the search param on the products loop, which reverse relationships do not support.
So, that leaves me with embedding the product entries loop for a given vendor (and with the embed I can pass the vendor entry id). The problem I now face is figuring out a way to search through the products and pull out only those products related to that vendor ID. The vendor ID can’t simply be used in a second search param, since the vendor ID is not actually stored by the relationship field - just the relationship ID is.
Any of you smart folks have a solution for me? I mean sure, I could add a display = none to any product that doesn’t have that vendor by doing a conditional inside the loop - but that’s messy and throws off the results count. I’d rather learn of a way to handle this at the loop level, if you get my drift.