Help Center

All Shortcodes

These are all the codes that you can use to personalize your notifications and the booking form itself.


Appointment:

{appointment_date} - for bookings with multiple appointments, the code will be replaced with the dates for each of the appointments made as part of the booking, divided by a comma (via built-in Cart, or Chain or Multiply Appointments).

{appointment_time} - same as with appointment dates, multiple appointment times will be shown for bundle bookings.

{appointment_end_date}

{appointment_end_time}

{approve_appointment_url} - an email (not a text message) can contain a link for staff to approve pending appointments online.

{approve_appointment_schedule_url} - URL for approving the whole schedule (to use inside <a> tag). Available with installed Recurring Appointments add-on.

{booking_number} - individual no. of a booking, useful for the client to know should they need to get in touch with you about it. Bundle bookings give one booking number for all appointments.

{cancel_appointment} - a link that lets your clients and staff to cancel an appointment online.

{cancel_appointment_url} - a link that lets your clients and staff to cancel an appointment online.

{cancellation_reason} - reason you mentioned while deleting appointment.

{cart_info} or {cart_info_c} - available for combined notifications with built-in Cart feature enabled in Bookly Settings > Cart. The simpler {cart_info} just includes the booking summary table into the email, while the {cart_info_c} does the same while also adding an appointment cancellation link next to each appointment.

{category_name}

{custom_fields} & {custom_fields_2c} - info that the client answered custom questions with.

{extras} - the titles of extras purchased with the appointment(s). Available with installed Service Extras add-on.

{extras_total_price} - available with installed Service Extras add-on.

{google_calendar_url} - this adds the appointment to the user’s Google Calendar.

{location_info} - available with installed Locations add-on.

{location_name} - available with installed Locations add-on.

{number_of_persons}

{payment_type}

{package_name} - service package name. Available with installed Packages Add-on.

{package_size} -  number of services in package. Available with installed Packages Add-on.

{package_price} - service package price.  Available with installed Packages Add-on.

{reject_appointment_url} - URL of reject appointment link (to use inside <a> tag).

{service_duration} - duration of service.

{service_info}

{service_name}

{service_price}

{site_address} - available with installed Locations add-on.

{tomorrow_date} - date of next day

{total_price}

 

Client:

{client_name} - full name will be used here.

{client_first_name} - first name of client.

{client_last_name} - last name of client.

{client_email}

{client_phone}

{login_form} - can be added to the booking form and booking list online to let the user log in with their WordPress credentials and have the personal info automatically filled in with their info.

 

Company:

{company_name}

{company_logo}

{company_address}

{company_phone} - main phone number that you’ve included in General > Company info.

{company_website} 

 

Staff:

{staff_email}

{staff_info} - the description-like field that you might have used to give additional info on each team member in Staff Members.

{staff_name}

{staff_phone}

{staff_photo}

{next_day_agenda} - staff agenda for next day

Have more questions? Submit a request

6 Comments

  • Avatar
    Denver Prophit Jr

    Do I just put the curly bracket on a page or do I have to use wp do_shortcode()?

  • Avatar
    Denis

    It's enough just to add the code with curly brackets, there's no need to use do_shortcode(). Please take into account that these codes are not global, usually, you can see the in explanation of a setting or an option which codes are available for use.

  • Avatar
    Bruno Silva

    Hello,

    Not sure if this is the best place to post this, but is there any shortcode we can use to create a landing page for a client after he cancels an appointment?

    Because in my website, he just lands in the initial page (there's no mention to the cancellation being correctly accepted by the system - which does happen).

    Thanks in advance

  • Avatar
    Denis

    Hi Bruno, you need this setting: Set the URL of a page that is shown to clients after they successfully cancelled their appointment.

  • Avatar
    Bruno Silva

    Thank you so much Denis, exactly what i was looking for!

  • Avatar
    Martin

    During the appointment process, on the screen where personal information is filled in, there is a box called Notes (I think, in Dutch it is: Notities). Where does this information go? I would expect a shortcode like {appointment_note} or something like that.

    Never mind, I found it: {custom_fields}

    Edited by Martin
Please sign in to leave a comment.
Powered by Zendesk