Match Items of different Users


I have fixed items in a database.
A user can mark these items as “I own” or “I want (= wish list)” .

User 1 “Owns” item “X” and “Wants” item “Y”.
User 2 “Owns” item “Y” and “Wants” item “X”.
(This is already working.)

This is a match because both users could swap thier items.

My need:
If I now visit the profile of “user 2” as “user 1”, this “match” should be displayed in profile page.
User 1:
You hand over = X
You get = Y
User 2:
You hand over = Y
You get = X

How can I display this match?

Thank you very much! :slight_smile:

This topic was automatically closed after 70 days. New replies are no longer allowed.