Okay
  Public Ticket #3678203
Display booked Services on Front End
Closed

Comments

  •  5
    Marcio Vieyra started the conversation

    Hello,

    I want to simply display the services the logged in user has booked, ideally through a shortcode. I have tried with this shortcode but the thing is that the user has to log in - even though they are already logged in to WordPress: [ameliacustomerpanel appointments=1]

    What's the best/easiest way to achieve this? I can even create a shortcode myself, but I understand I would need to generate an API Key, that given my subscription type, I'm not entitled to (is that right?).


    Thanks!



    Mars

  •  700
    Stefan replied

    Hi Marcio,

    Thanks for reaching out to us. Unfortunatelly, currently, this is not possible with the existing shortcodes. The shortcode that you can use will display all the services / events to all customers who access your webpage. Customers will be able to see the appointments they've booked only when they log in to the customer panel. 

    Even if you manage to create a shortcode, that would mean that the booking form with the already booked appointment will appear to all customers (and you don't want that because the sensitive data will be exposed to all customers)

    Please feel free to search through our feature suggestion page,  to see if someone may have already suggested this feature. If you can't see it, feel free to add your suggestion there, and as more people vote, the feature will move higher on the priority list.

    You can certainly follow our changeLog page if you'd like, where we state any changes/new features/bug fixes during updates and our newsletter, so you're informed about new features, bug fixes, freebies, etc.


    Kind Regards, 

    Stefan Petrov
    [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

  •  5
    Marcio Vieyra replied

    OK... it really seems like basic stuff to me. The only way to create a shortcode myself and retrieve information from Amelia would be by using an API key? If so, can this be done with my current license?


    Regarding the customer panel: if it's the only way, then we'll do it. The only thing that I notice is that when I am logged in to WordPress and book a service, I am not asked for a username/password. I'm just allowed to book straight forward, and the booking goes through.

    Then, when I go to the page to access the customer panel, I am asked to log in, and have no idea what my e-mail/user and password are, because I wasn't asked to set one up with Amelia. I tried my WordPress password - but that's not allowing me neither.

    If necessary, I can give you access to my backend so you can see how it's set up and maybe you can help me. Thanks so much!

  •  700
    Stefan replied

    Hi Marcio,

    When a new customer wants to book an appointment, an email with the credentials will be sent to the email he left during the booking. There are actually two options, you can choose if an email with the credentials is going to be sent or an access link. This can be changed in User Role settings / Customer, there is an option called "require a password to log in". Customers can log in to the WordPress and Customer Panel, but it's recommended to create a page with the customer panel since it's easier to use. Please note that the customer panel is only meant to be used by customers, so WP user that has admin or manager user role, shouldn't log in there.

    Now, regarding the shortcode and API, I'm not sure if this is possible since there should be something that is visible only to a specific customer (only his booked appointments) but this would certainly require the customer to log in, since there are no other ways of knowing what appointments have been booked by a customer.





    Kind Regards, 

    Stefan Petrov
    [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

  •  5
    Marcio Vieyra replied

    Got it. Thanks so much!!!! You may close this ticket.

  •  700
    Stefan replied

    Hi Marcio,

    You are welcome. I'm glad that I could help.

    If you have any other questions, please open a new ticket and we will gladly help you there.

    Have a nice day!


    Kind Regards, 

    Stefan Petrov
    [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