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.

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

{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.

{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 [LINK].

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

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

{number_of_persons}

{payment_type}

{service_info}

{service_name}

{service_price}

{site_address} - available with installed Locations add-on [LINK].

{total_price}

 

Client:

{client_name} - full name will be used here.

{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}

Have more questions? Submit a request

2 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.

Please sign in to leave a comment.
Powered by Zendesk