Schedule
[ Schedule %target_field%
%public_scheduling_token%]
This shortcode will transform the target Date and Time Field into a Calendar Booking field, allowing your users to pick a free Date and Time on your Calendar.
This will then fill that Date and Time field with the proper Date/Time/Timezone combination, which will then be sent to Ontraport upon form submission.
Note that in order to avoid any Double Booking, you must set your "Log an event into your calendar" webhook in order for the event to be added to your calendar.
ATTRIBUTE | TYPE / VALUES | DESCRIPTION | |
---|---|---|---|
%target_field% | #%field_id% or %field_name% | You must add a Date and Time field to the page which will be used to hold our Calendar Booking information. This field will be populated with the proper date/time/timezone and saved upon form submission. Must be a Date and Time field. Required. | |
%public_scheduling_token% | Key | Your %public_scheduling_token%(click to get it). Required. | |
align= | Parameter | align=left or center or right With center default.Will let you set how you want to align the calendar within the column it sits. Optional |
ScheduleTimer
[ ScheduleTimer token=%public_scheduling_token% block=#%block_id%
display=yes/no]
This Shortcode will set an Ontraport Countdown Timer to the next available time for the Scheduling Module related to your Token.
ATTRIBUTE . | TYPE | DESCRIPTION | |
---|---|---|---|
token= | Key | Your %public_scheduling_token%(click to get it). Required. | |
#%block_id% | ID | The ID of the block containing the Countdown you wish to set to the proper time. If no #%block_id% is provided, it will default to "All Countdowns". | |
display=yes/no | Boolean | Yes (Default) : The timer will be visible, even if the time has already passed.No : The timer will be hidden when the time has already passed.(0) |
Calendar Setup Cheat Sheet
# All dates must be in YYYY-MM-DD format. All times must be in HH:MM format.
# For available time definition, you want to use All or <weekday name> prefix. Specific date ranges are not supported (use Date range for this).
# NOTE: "All: 10:00-18:00, Monday: 11:00-14:00" will still make you available 10-18 on Monday!
# Availability: all days of week, 10am to 6pm in your timezone.
All: 10:00 - 18:00
# All exceptions must start with "Exception" name.
# You can just define a day on which you will be busy. Comma-separated for several days.
Exception: Saturday, Sunday
Exception: 2020-02-03, 2020-02-10
# This will work too (all 3 rows will be excluded from your availability):
Exception: Saturday
Exception: Sunday
Exception: 2020-02-10
# Or, you may set a specific time of your business. You don't have to watch those begin/end times, it'll work. So considering your av. time "All: 10:00 - 18:00", the row below will make you available from 10 am to 2pm on Wednesdays.
Exception: Wednesday 14:00 - 20:00
# You can set an exact day and time of your business.
Exception: 2020-02-03 14:00 - 18:00
# You may also want to set a date range in this fashion. The row below means you're unavailable for a whole 3 days, from morning to night, like total of 72 hours of unavailability.
Exception: 2020-01-03 - 2020-01-06
# Or, you may want to set specific time (like if you're having a 3-day training or something.)
Exception: 2020-01-03 - 2020-01-06 14:00-18:00
#NOTE: Days of the week (ie. Monday - Friday are NOT supported in range formats!)