Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Retrieving assocations by target

$
0
0

If I have an association between product A -> product B, it seems I can only retrieve this association by source. If I ask B for associations (through IAssociationsRepository), it doesn't appear to have any. The UI also reflects this: B has no "Related entries".

The scenario is that I want to show cross links on both product pages... "B is accessory to A" and not only "A has accessory B".

Currently I have to resort to some fugly SQL to make it happen, but I'd much rather have support for this in the API.


Viewing all articles
Browse latest Browse all 9076