Okay
  Public Ticket #3730354
URL specific event
Closed

Comments

  • Tjwan Oei started the conversation

    We want to provide booking opportunity for a specific event, apart from our website. Has a specific event an URL we can refer to? (and if so, is it possible to add this info to the documentation?)
    Tjwan Oei

  •  1,500
    Uroš replied

    Hello Tjwan,

    Starting from Amelia 7.4.2, users can pre-select a list of entity IDs separated by commas, which will be automatically pre-filled on the form. The following list of URL parameters can be added to achieve this:

    • ameliaEventId: The ID of the event that will pre-filter Event-related shortcodes;
    • ameliaEventTag: A specific tag added to an event that will pre-filter Event-related shortcodes;
    • ameliaServiceId: The ID of the service that will pre-filter appointment-booking shortcodes;
    • ameliaEmployeeId: The ID of a specific employee that will pre-filter appointment-booking shortcodes;
    • ameliaCategoryId: The ID of a specific category that will pre-filter appointment-booking shortcodes;
    • ameliaLocationId: The ID of a specific location that will pre-filter appointment-booking shortcodes (can only be used for Service-related booking forms, not Event-related booking forms);
    • ameliaEventPopup: Enter the event ID of the event to be opened on page load.
    Examples:

    Event URL:

    • https://yourbookingwebsite.com/events/?ameliaEventId=123&ameliaEventPopup=123
    • This URL would automatically open the page where Event ID “123” is located and would display it in a popup.

    Booking Form URL:

    • https://yourbookingwebsite.com/booking/?ameliaServiceId=5&ameliaEmployeeId=1
    • This URL would pre-select Service ID 5 and Employee ID 1 in the booking form.

    Please note that these are examples and not live websites. They demonstrate how a URL with predefined parameters would function.

    Kind Regards, 

    Uros Jovanovic
    [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