If for example you have a separate page for your agent or service, and want to add “Book Appointment” button/form on it, you probably want to pre-select that agent/service automatically, so when a customer clicks the button – they automatically skip the agent/service selection steps. It’s very easy to do, just add selected_agent, selected_location and/or selected_service attributes to your [latepoint_book_button] or [latepoint_book_form] shortcode, and specify the ID of the agent/service you want to be pre-selected. You can find agent and service ID either in URL on service/agent edit page as last parameter on the edit form in admin:

Example usage:

Pre-select both agent and service
[latepoint_book_button selected_agent="3" selected_service="4" selected_location="1"]
Pre-select agent
[latepoint_book_button selected_agent="3"]
Pre-select service
[latepoint_book_button selected_service="4"]
Pre-select location
[latepoint_book_button selected_location="1"]

Related Articles

Specify which services and agents will appear on the booking form