Okay
  Public Ticket #2875230
Adding a new Employee(s) - duplicate email error for existing users
Closed

Comments

  •  4
    Jeremy Avenarius started the conversation

    Hi,


    I'm hoping you can help me figure this out. I just bought Amelia but having a dealbreaker issue.

    I'm building a subscription-based members-only site where the members will trade services with each other. So all members will be employees so they can see/edit their schedules as well as book appointments with other members.

    I'm using the ARMember plugin for people to register/purchase memberships and they automatically get assigned an ARMember Role. I then go into their user account and add Amelia Employee role to their ARMember role. But when I go into Amelia->Employees->Add New it won't recognize them as Employees nor can I add them as a new employee since the email is already in use from signing up. How the heck am I suppose to add a new employee that registers on my site? I can't add them from scratch because they'll already be signed up from registering so the duplicate email error always pops up.


    Please help!


    Thanks for your time with this matter.

    Jeremy

  •  2,572
    Aleksandar replied

    Hello Jeremy

    Thank you for your purchase.

    Amelia stores users' data in the wp_amelia_users database, and by default, one email address can't be assigned to two users, so creating both the employee and the customer with the same email address is not possible.

    Amelia Employees can only be linked to the "Amelia Employee" WordPress user role, so if you want to assign users with ARMember role to the employee, you'll need to use a plugin like "User Role Editor", and assign another user role "Amelia Employee" to that user, and after that, it will appear in the WordPress user dropdown.

    The employees would be able to book appointments with each other, but that's not something we recommend because each user role has its own set of abilities and using the same user as the employee and the customer can lead to issues in what the users see in Amelia.

    If this is a dealbreaker, we will of course issue a refund for you, but I will make sure that your use case goes down as a feature suggestion for the future.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  4
    Jeremy Avenarius replied

    Hi Aleksandar,


    Thanks for getting back to me about my issues. :)


    The ARMember plugin lets me edit user roles and so I already have both Amelia Employee and ARMember roles for my test users. Their names do show up in the WP User dropbox but it is useless since I have to re-register them with their names and email. That is where I run into an issue. The duplicate email error shows up and I get stuck without adding an employee. How do I get past this since I need to have employees but people also have to signed up on ARMember to my subscription membership in the first place? Is this even possible? If it isn't possible, Amelia should put in big letters on their home page, does NOT work with any subscription plugins. :(

    In my pre-purchase ticket #2845167, I asked the question (it's the second question) if it was possible for me to have employees use other employee's services as a customer while logged in as an employee and she responded as if it were fine but your answer seems like it won't be ideal. So now I'm confused about Amelia's capabilities if this is possible too?


    I appreciate your time to answer all of my questions!


    Best,

    Jeremy



  •  2,572
    Aleksandar replied

    Hi again Jeremy

    Amelia can see an email as a duplicate email only if that email is added in the wp_amelia_users table - so if the email is already in use for a customer or another employee, you wouldn't be able to create an employee with that email.

    If the employee is created in Amelia, that employee can book an appointment with another employee using their email address, but a new customer account will not be created in this case. On the other hand, if you have an employee with (for example) [email protected] created, and you enabled "Check customer's name for existing email when booking" slider in Amelia Settings/Roles/Customer, when you try to enter a different name, but use the same email address, you wouldn't be able to book that appointment.

    So, in practice, it is possible for an employee to book an appointment with another employee using their existing email address. I don't know how this affects the Subscription plugin, but I don't see where it could cause any conflicts.

    If my response doesn't provide any useful tips, can you record a short video, showing me where you see the errors and provide me with a temporary wp-admin user (administrator), so I can log in, and take a look?

    You can write credentials here just check PRIVATE Reply so nobody can see them except us.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  4
    Jeremy Avenarius replied

    I finally got Amelia to add a new member after a person signs up. My mistake was manually adding the role of Amelia Employee before adding them as a New Employee.

    Now this created another issue where the previous members that did have issues with the duplicate email error (because I mistakenly changed the roles to Employee before adding them as a New Employee). I removed their roles as Amelia Employees but I still get the duplicate email error. Does Amelia not remove their entry from the database? 

    -----------------

    I have another issue when I log in as an Employee A (in booking wizard) and then Employee A books an appointment with Employee B, the booking process wants Employee A to add all of their info again, while they are already logged in. Seems like a wasted step to re-enter their full name, phone, and email. Is there any way around this? See attached.

    While on this booking wizard screen I see another issue about a price field. Is there any way to remove that "Base Price" field since I'm not charging for bookings, only for the subscription to be a member? Or even better, have it show the alternate currency I'm using (I integrated the myCred plugin that uses points as the currency) so I can have members use credits they earned to exchange for bookings? Same attachment


    Thanks again for your help with all of my questions! I promise they will end soon.

    Jeremy

  •  4
    Jeremy Avenarius replied

    Hi, any updates to my latest round of questions??

  •  2,572
    Aleksandar replied

    Hi again Jeremy.

    As mentioned in the previous response - Amelia can see an email as a duplicate email only if that email is added in the wp_amelia_users table - so if the email is already in use for a customer or another employee, you wouldn't be able to create an employee with that email.

    So if all you have is a WordPress user, Amelia wouldn't report a duplicate email. Duplicate can only be reported if that email is assigned to a customer in Amelia/Customers or an employee in Amelia/Employees. Please search those.

    The second question is also covered in the last response - If the employee is created in Amelia, that employee can book an appointment with another employee using their email address, but a new customer account will not be created in this case. So, even though the employee is logged in, he's not logged in as a customer (since that's not possible), and Amelia can't fill in his details automatically.

    We don't have any integration with myCred, so I don't believe that'll work. You can hide the base price through the Customize section, but that would apply to all forms. If you want to hide it only on this form, the form needs to be on a specific page where we would be able to include some custom CSS and hide it.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  4
    Jeremy Avenarius replied

    Got it. Thank you so much for your help!


    Have a wonderful day.

  •  4
    Jeremy Avenarius replied

    I forgot to mention that Amelia does have integration for myCred so I'll dig deeper to find my needs. Thanks!

    https://wpamelia.com/mycred-integration-for-amelia-booking/

  •  4
    Jeremy Avenarius replied

    Hi, I don't see an option to remove "Base Price." Are you sure it is in the Customize area? All that I see is an option to rename the fields for certain payment values, which I don't even have. Any guidance would be great. Thank you.

  •  2,572
    Aleksandar replied

    Hey Jeremy

    Sorry about that - that integration was developed by MyCred's team, and it completely slipped my mind!

    Also, for the Base Price - that will be added to the Customize section, but it's not in there yet (once again - I apologize). At this time, you can hide it with this CSS:

    .am-confirmation-booking-cost > div:nth-child(2) {
    display: none;
    }
    

    Please let me know if that works.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  4
    Jeremy Avenarius replied

    No worries. Thank you so much, Aleksandar! Have a nice week.

  •  4
    Jeremy Avenarius replied

    You may close this ticket. :)

  • [deleted] replied

    Hi Jeremy

    You are most welcome on behalf of the entire teamsmile.png

    Do let us know if there is anything else we can assist you with.

    Have a wonderful day!