So, I'm looking for some tips for how to set up some functionality. What I want to achieve is this.
When a "Department Manager" from one of my Customers shops on my site, she finds a product that she want to buy for some of her employees. So when she opens the product, there should be a list of her employees as a drop down above the size variants. She picks an employee, "Peter Parker" and gets his size preference predefined to small. (if there is a preference). Add to cart, with a comment like "For: Peter Parker". She then picks "Tony Stark" and have his size prefrences ready and add to cart, repeat for all the relevant employees.
To create this we are thinking of Creating users in backend with custom-fields for size prefrences.
We'll sort them into groups for each Company and department like this:
Company-1 (Group)
|--Department-1 (Sub-Group)
|----User-1 (Department-Admin)(User)
|----User-2
|----User-3
|--Department-2
|----User-4
|----User-5
|----User-6
|--User-10 (Company-Admin)
Company-2
|--Department-1
|---User-A
.....
If I do it like this, is there a way for a User to list out his/hers "sibling" users? So User-1 will se User-2 and User-3 but not User-4,5,6 etc. ?
I off course need to have som sort administration of this as well....
Is there another aproach to solve this?