Okay
  Public Ticket #2431252
How to have a nice user profile with wpamelia and woocommerce
Closed

Comments

  •  3
    Hubert started the conversation

    Hi,

    I'm searching for a nice way to have inside the Woocommerce "my profile" page (in a tab or at least on the same page!) the WPAmelia customer profile with the appointments.

    I've put the Woocommerce "my profile" URL inside the config client panel and the [ameliacustomerpanel] shortcode inside the Woocommerce "my profile" page.

    I could cope with two looks. But…

    I get two "Worlds" side by side. The two authentication processes (WP's and WPAmelia's) don't talk to one another. I'll have to ask to my clients to login twice! Once to change to be able to see their purchases and another time to see their schedule.

    Is this normal behaviour ?

    Thanks

  •  3
    Hubert replied

    Well. I'm one step further. I deactivated the "profile management" in the Client Roles.

    Same page (Woocommerce "my profile" page).

    - When Wordpress authentication is not done, I have form asking for the email to get a link to access profile.

    - When Wordpress authentication is done, I do get the schedule.

    Can I get rid of this link form ?

    Thanks

  • [deleted] replied

    Hello campanhubert, 

    If a customer books an appointment in Amelia while logged in to WordPress that Amelia Customer will be connected to that WP user so after this connection they will be able to access the panel with that WP user access, they will be logged in to the panel when they are logged in to WP.

    Same page (Woocommerce "my profile" page).

    - When Wordpress authentication is not done, I have form asking for the email to get a link to access profile.

    - When Wordpress authentication is done, I do get the schedule.

    Can I get rid of this link form ?


    Sorry, I am not sure if I understood this quite well, could you please tell me is this something done in WooCommerce, if yes, you need to check this out with them, there isn't a possibility to manage that from Amelia, and I am not that familiar with this part of Woo. And if it is something in Amelia, could you please tell me on what exactly are you referring to? Thank you!

  •  3
    Hubert replied

    Hi Marija,

    Thanks for that.

    The form I'm talking about is the result of [ameliacustomerpanel] when the user is not logged in (or has not the amelia customer role, like the admin user). It says "Send Access Link" (Enter your account email address and we will send you access link to your inbox.)

    Actually, I manage by using some CSS and a plugin that hides the form/schedule while the user is or not logged in. Which means:

    - When the user is NOT logged in: I hide the result of [ameliacustomerpanel]

    - When the user IS logged in: I show the result of [ameliacustomerpanel]. It then either show the customer panel, or the "Send Access Link" form.

    It could be a feature request: totally show/hide result of [ameliacustomerpanel] depending on user logged state.

    All this has nothing to do with Woocommerce even if I do use it. I just wanted to have the result of [ameliacustomerpanel] in the same place as a front end "my profile" page (could Woocommerce of plain Wordpress).

    Problem solved with the aid of "Content Control" & "User Menus" plugins from Code Atlantic.

    Thanks


  • [deleted] replied

    You are welcome. 

    I see, I misunderstood then the use case, I didn't see you were talking about the Customer panel. 

    OK, thank you for the clarification, I will add that as a feature request to our list so it can be considered for implementation in the future. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help.