Allowing Members to "claim" Products

Question:
How do I allow members to claim a Product in a CMS and see the relation on the Product and Member item and pages?

Product:
Wix Studio Editor

What are you trying to achieve:
I have a website where Students look for Mentors. The Students are anonymous on the site and the Mentors are logged in Members. The Student fills out a form which submits to a Students CMS. Members (Mentors) can view a page which shows available (unassigned) students based on criteria they choose (location). The member selects a Student(s) they would like to mentor. A site Admin Approves those requests. The member needs a page where they can see what Students have been Assigned to them.

The site Admin needs to be able to see the list of Students along with their status: “Unassigned” or “Requested by Mentor: ” or “Assigned to Mentor: ”. Clicking on the Mentor Name should take the Admin to the Mentor (Member) page which shows the Mentor profile page as well as a list of Students who have been requested by or assigned to that mentor.

Notes:

  • It’s fine if members can only physically select one at a time (click a button to claim an item vs select multiple items (check box next to each item) and a button to select them all) but in the end they need to be able to have claimed multiple items.
  • I’m not worried about race conditions where multiple members try to grab the same item at the same time. Usage will be too small to justify any work here.
  • I’m trying to minimize coding and use the built-in CMS and dynamic page functionality as much as possible. I’m willing to have a bit of UX friction if it avoids tricky coding. Note: I’m not afraid of coding but I want a solution that other people can easily pick up.
  • I have a Member Profile CMS with the members name and can pull from that.

What have you already tried:
I’m trying to wrap my head around how to do this in general with minimal, or preferably no, code. I’ve tried writing code that, when a Product in a repeater is clicked by a Member, identifies the Product clicked and updates the Product CMS with a reference to the Member. I’m close to getting this working but it seems overly complex.

You have a complex scenario involving multiple user roles, data relationships, and dynamic page updates. While it’s possible to achieve this using Wix’s built-in features and minimal coding, it will require careful planning and potentially some custom logic.

1 Like

Thanks for the reply, @Tech_Voyager. Looking forward to some fun coding ahead. :slight_smile:

Glad to help. If you face any further issue we can connect on fiza@astrosia.in