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 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_confirm_url} - URL of cancel appointment link with confirmation (to use inside <a> tag).

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

{cancellation_reason} - reason you mentioned while deleting appointment.

{cart_info} or {cart_info_c} - available for combined notifications with Cart feature (available with installed Cart add-on) 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 (available with installed Custom Fields add-on).

{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} - available with installed Group Booking add-on.

{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} - used in Notification to customer about their WordPress user login details.

{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

16 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
    Support Team

    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
    Support Team

    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
  • Avatar
    Jared Maki

    Hello,
    I was wondering if there is a way to include the shortcode {service_info} in the service tab such that when a service is selected the description of the service is displayed

    Thank you

  • Avatar
    Product Team

    Hi Jared, you can use the {service_info} code, but not for the first step of the booking form, you can add it for later steps.

  • Avatar
    Ruppertmarketing

    Is there a way to show the calendar on the website to show available times?

  • Avatar
    Product Team

    Hi, the back-end calendar can't be displayed on the front-end, at the moment.

  • Avatar
    Ruppertmarketing

    not looking for the backend calendar just to show a calendar that shows available times on the frontend of the website.

  • Avatar
    Product Team

    Currently, customers can be see the availability of service and staff members, only when they book an appointment in the booking form. There isn't a separate calendar that just displays the availability.

  • Avatar
    Onlyurs362

    We have updated Bookly with latest version 4.9 and after updating the plugin old features are gone. Bookly Service Capacity and Custom fields are no longer exists. Why?

  • Avatar
    Support Team

    Hi, please send us email to support@ladela.com with this inquiry and your purchase code so we could look into this matter.

  • Avatar
    Andre Hoe

    Hi Support Team,
    You are doing a brilliant job with Bookly and I am happy to recommend your product to my customers in short.
    For most of them it is important to manage their appointments via google calendar. Therefor I have 2 questions:

    1. Is it possible to have {approve_appointment_url} in the google calendar entry as well, to give stuff the opportunity to approve new appointments from their smartphone?

    2. If so - is it possible to limit the access to {approve_appointment_url} by stuff login? Because it is important that only stuff member/s who has been booked are able to approve their appointments. (I am not a specialist in GDPR but it could be a requirement here too.)

    I hope you are able to help. Thanks in advance!

    Best regards
    Andre

    Edited by Andre Hoe
  • Avatar
    Support Team

    Hi Andre, Currently, this functionality is not supported.

    Please add these details as a new record to our feature request forum: https://support.booking-wp-plugin.com/hc/en-us/community/topics/200189331-Feature-Requests

    The forum is where we track requests for new capabilities, and our product development depends directly on the number of votes each request receives.

Please sign in to leave a comment.
Powered by Zendesk