Okay
  Public Ticket #3504571
Code to prefill booking fields via url parameters
Closed

Comments

  • Andrei started the conversation

    Can you give me a code function so that I can pass url parameters into the booking fields?

    I want to prefill First Name, Last Name, Email and Phone because the visitor already filled them when they signed up for the free video.

  •  1,339
    Marko replied

    Hello Andrei,

    Thank you for reaching out to us.

    This is possible already when customer is connected to Wp user the data field will be populated automatically. We have option called Automatically create Amelia Customer user  – If this option is enabled every time a new customer makes an appointment they will automatically get a WordPress user with the Amelia Customer user role and email with login details from WP, and that WP user would be connected to the customer created in Amelia. 

    If someone is already a WordPress user, and they book an appointment for the first time in Amelia while logged in to WP, the customer created in Amelia will be connected to that WP user and they will get the Amelia Customer role in WP (there are plugins for managing multiple roles in WordPress, such as User role editor). This way they will have the same login info for the Amelia customer panel and WordPress.

    Hope this helps. 

    Looking forward to your reply. 


    Kind Regards, 

    Marko Davidovic
    [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