In this scenario, a main product has multiple accessories (which are, of course, related to the main product through relationships). Only certain accessories are related to the main product. The user can place main products and unrelated accessories into the cart. I'd like to display a warning that they are ordering incompatible items.
I understand that you can use
relatedTo to find out if a relationship exists between entries but in this case, I need to know if accessories unrelated to the main product are in the cart.
Is this possible?