- How to Display Tax-Inclusive Prices in LatePoint
- Bundled Services
- Managing Bookings With The New Shopping Cart
- Set custom start date for the calendar on your booking form
- How to make Phone Number a required field?
- Add booking form directly on a page
- Redirect to a custom “Thank you” page after booking is complete.
- Adding a booking button to your page
- Change 12/24 hour time system
- How to skip agent selection step and have agent automatically assigned
- Add custom content before or after booking steps
- Customize Book Button Appearance
- Add preselected Agent, Service or Location on Book Appointment Button or Form
- How to change time slot style on the calendar?
- Custom CSS for changing colors
- Booking Form Editor
- Specify which services, agents and locations will be available on a booking form
- How to pick specific categories to be displayed on the booking form
- How to show only services from specific category
- Set custom fonts for the booking form
- How to hide a Summary and Side Panel to get a compact booking form
- Change text in “Questions” section of the booking form
- Where should I store translated language .po and .mo files
- How to translate LatePoint plugin to your language
- How to configure Social Login with Google
- How to configure social login with Facebook
- How to Enable CSV Downloads for LatePoint Agent Users
- How to Hide the Price Breakdown if the Service Price is Set to Zero
- How to Change the Start Day of the Calendar in LatePoint
- How to Configure Customer Authentication and OTP Verification in LatePoint
- How to setup Facebook Pixel
- How to Disable the Messaging Functionality in LatePoint
- How to upgrade to Version 5?
- How to Update to Version 5.1.0
- Which addons are part of a PRO bundle in version 5?
- How to deactivate my license from a website I no longer use.
- Redirect to a custom “Thank you” page after booking is complete.
- How to add a link to terms of service checkbox custom field
- Edit content of the left panel section
- How to enable self hosted Google Calendar setup?
- How does LatePoint send emails?
- How to enable debug log?
- Add to Calendar link is not working
- Getting “One of the plugins is invalid” error when installing add-ons
- Error: unexpected ‘int’, expecting function…
- Service categories not showing during booking process
- Error: Cannot read properties of null (reading: verifyBuyer)
- WordPress Users still can’t login, even when “Use WordPress users as customers” option is checked
- New service is being created when trying to update existing service.
- Auto-sync of events from Google Calendar is not working
Add preselected Agent, Service or Location on Book Appointment Button or Form
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 agent, location 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 bundle
[latepoint_book_button selected_bundle="1"]
Pre-select location
[latepoint_book_button selected_location="1"]
Pre-select start date
[latepoint_book_button selected_start_date="2022-04-28"]
Pre-select start time (in minutes, e.g. 600 minutes is 10 hours = 10:00am)
[latepoint_book_button selected_start_time="600"]
Pre-select total attendees
[latepoint_book_button selected_total_attendees="2"]
Pre-select duration (in minutes)
[latepoint_book_button selected_duration="60"]
NOTE:
Same attributes can be used when you add “os_trigger_booking” class to an element. Just prepend them with data- and replace underscore with a dash. For example selected_start_time=”600″ shortcode attribute becomes data-selected-start-time=”600″ html element attribute.
We don't respond to the article feedback, we use it to improve our support content.
