Award Winning Appointment Booking Plugin
Documentation

Available Shortcodes in BookingPress

1. Step-by-Step Booking Wizard:

  1. [bookingpress_form] – This shortcode will display the basic Step-by-step Booking wizard
  2. [bookingpress_form category=1] – This shortcode will display the Booking wizard with only those services having category ID 1.
  3. [bookingpress_form service=1] – This shortcode will display the Booking wizard with the service having ID 1.
  4. [bookingpress_form selected_service=1] – This shortcode will display the Booking wizard with the service selected having ID 1.

Enter comma-separated service IDs to add multiple services

2. Front-end Customer Panel:

  1. [bookingpress_my_appointments] – This shortcode will display the appointments booked by currently logged-in customer

3. Company details:

  1. [bookingpress_company_avatar] :- This shortcode will display the company avatar set from the admin panel.
  2. [bookingpress_company_name] :- This shortcode will display the company name.
  3. [bookingpress_company_website] :- This shortcode will display the company website URL.
  4. [bookingpress_company_address] :- This shortcode will display the company address.
  5. [bookingpress_company_phone] :- This shortcode will display the company phone number.

4. Service Package

  1. [bookingpress_package_form] – This shortcode will display the service package form. (Only if the service addon is active)

Customize Bookings with URL Parameters

While shortcodes allow you to display a form on any page, URL parameters enable you to preselect specific options within that form. This feature is invaluable for users who must streamline their booking process by predefining service, location, or staff preferences.

Some of the URL Parameters are as follows:

  • sm_id=1: When this is set it will preselect the Staff member with the ID 1.
  • s_id=1: This will display as the service with ID one as preselected.
  • loc_id=1: This will preselect the location with ID 1.
  • allow_modify=0: Prevents users from modifying the predefined selections.

Suppose your BookingPress form resides at www.yoursitename.com/book-appointment/. To automatically preselect a service with ID 1 and disallow users to go back a step and change the service, use the URL: www.yoursitename.com/book-appointment/?s_id=1&allow_modify=0. Users clicking this link will see the service preselected, and they won’t be able to change it.

If you want to prefill fields, that is also possible with URL Parameters. You can refer to this documentation for the same here.