跳到內容

所有預留位置

這些變數可讓您將通知本身及預約表單進行個人化。部分代碼可用於所有電子郵件類型,其他則僅在對應的 Bookly 附加項目(add-ons)已安裝並啟用時才會出現。

請注意,並非所有可用於通知的代碼都能在「外觀」區塊中使用。

預約
{appointment_booking_url}從等候名單預約此預約項目的網址。安裝 Waiting List (Add-on) 後可用
{appointments_count}購物車中預約項目的總數量
{appointment_date}對於包含多筆預約的訂單,此代碼會被替換為該次預約中每一筆預約的日期,並以逗號分隔(透過 Cart、Chain 或 Multiply Appointments)
{appointment_notes}顯示預約表單中「備註」欄位所輸入的資訊
{appointment_schedule}週期性預約的排程。安裝 Recurring Appointments (Add-on) 後可用
{appointment_schedule_c}附取消連結的週期性預約排程。安裝 Recurring Appointments (Add-on) 後可用
{appointment_time}與預約日期相同,套裝預約會顯示多個預約時間
{appointment_end_date}適用於服務時長為 1 天或以上的服務
{appointment_end_time}適用於服務時長為 1 天或以上的服務
{appointment_waiting_list}預約的等候名單。安裝 Waiting List (Add-on) 後可用
{approve_appointment_url}電子郵件(非簡訊)中可包含一個連結,供員工線上批准待審預約
{approve_appointment_schedule_url}批准整個排程的網址(用於 標籤中)。安裝 Recurring Appointments (Add-on) 後可用
{booking_number}預約的個別編號,方便顧客在需要就此事與您聯繫時使用。套裝預約中所有預約項目共用同一個預約編號
{cancel_all_combined_appointments}取消連鎖預約中所有預約項目的連結。適用於支援合併通知的附加元件
{cancel_all_combined_appointments_url}取消所有預約連結的網址(用於 標籤中)。適用於支援合併通知的附加元件
{cancel_all_recurring_appointments}取消連鎖預約中所有預約項目的連結。安裝 Recurring Appointments (Add-on) 後可用
{cancel_all_recurring_appointments_url}取消所有預約連結的網址(用於 標籤中)。安裝 Recurring Appointments (Add-on) 後可用
{cancel_appointment}讓您的顧客與員工可線上取消預約的連結
{cancel_appointment_confirm_url}附確認步驟的取消預約連結網址(用於 標籤中)
{cancel_appointment_url}取消預約連結的網址(用於 標籤中)
{cancellation_reason}刪除預約時所填寫的原因
{cancellation_time_limit}可取消此預約的截止日期與時間
{cart_info} 或 {cart_info_c}適用於安裝了 Cart (Add-on) 及其他支援合併通知的附加元件時的合併通知。較簡單的 {cart_info} 只會在電子郵件中加入預約摘要表格,而 {cart_info_c} 則會在此基礎上,於每筆預約旁加入一個取消連結
{category_image}服務分類的圖片
{category_info}服務分類的描述
{category_name}服務分類的名稱
{coupon}預約時所使用的優惠券代碼。安裝 Coupons (Add-on) 後可用
{custom_fields} 及 {custom_fields_2c}顧客回答自訂問題所填寫的資訊。安裝 Custom Fields (Add-on) 後可用
{extras}隨預約一併購買的附加項目名稱。安裝 Service Extras (Add-on) 後可用
{extras_total_price}安裝 Service Extras (Add-on) 後可用
{google_calendar_url}將此預約加入 Google Calendar 的連結(用於 標籤中)
{internal_note}來自預約詳細資料中的內部備註
{location_info}安裝 Locations (Add-on) 後可用
{location_name}安裝 Locations (Add-on) 後可用
{number_of_persons}安裝 Group Booking (Add-on) 後可用
{online_meeting_join_url}供會議參加者加入會議的網址
{online_meeting_password}自動產生的會議密碼
{online_meeting_start_url}供會議主持人開始會議的網址
{online_meeting_url}線上會議網址
{payment_type}付款方式的類型
{package_life_time}顧客可使用套裝服務的天數。安裝 Packages (Add-on) 後可用
{package_name}服務套裝的名稱。安裝 Packages (Add-on) 後可用
{package_size}套裝內的服務數量。安裝 Packages (Add-on) 後可用
{package_price}服務套裝的價格。安裝 Packages (Add-on) 後可用
{recurring_count}週期性預約的數量。安裝 Recurring Appointments (Add-on) 後可用
{reject_appointment_url}拒絕預約連結的網址(用於 標籤中)
{service_duration}服務的時長
{service_info}關於服務的資訊
{service_image}服務的圖片
{service_name}服務的名稱
{service_price}服務的價格
{site_address}用於通知顧客其 WordPress 使用者登入資訊時
{tomorrow_date}次日的日期
{total_duration}此預約的時長
{total_price}此預約的總價(套用優惠券後,購物車中所有項目的總和)
{files_count}已上傳檔案的數量。安裝 Files (Add-on) 後可用
顧客
{client_name}此處會顯示完整姓名
{client_first_name}顧客的名字
{client_full_birthday}顧客生日的完整日期(含年份)
{client_last_name}顧客的姓氏
{client_locale}顧客的語系
{client_address}顧客的地址
{client_birthday}顧客的出生日期
{client_email}顧客的電子郵件地址
{client_note}來自「顧客檔案 > 備註」中的顧客備註
{client_phone}顧客的電話號碼
{client_timezone}顧客的時區
{login_form}可加入預約表單及線上預約清單中,讓使用者以其 WordPress 帳號登入,並自動帶入其個人資訊
{new_password}用於「新顧客的 WordPress 使用者登入資訊」通知中
{new_username}用於「新顧客的 WordPress 使用者登入資訊」通知中
公司
{company_name}公司名稱
{company_logo}公司標誌
{company_address}公司地址
{company_phone}您在「設定 > 公司 > 電話」中填寫的主要電話號碼
{company_website}公司的網站地址
員工
{staff_category_image}員工分類的圖片
{staff_category_info}員工分類的資訊
{staff_email}員工的電子郵件地址
{staff_info}描述性欄位,可用於在「員工」中為每位團隊成員填寫額外資訊
{staff_name}員工的姓名
{staff_phone}員工的電話
{staff_photo}員工的照片。
{staff_rating_url}員工評分頁面的網址。安裝 Ratings (Add-on) 後可用
{staff_timezone}員工的時區
{agenda_date}行程的日期
{next_day_agenda}員工次日的行程
{next_day_agenda_extended}員工次日的行程,並包含自訂欄位與內部備註中所填寫的資訊。安裝 Custom Fields (Add-on) 後可用
付款
{amount_due}安裝 Deposit Payments (Add-on) 後可用
{amount_paid}安裝 Deposit Payments (Add-on) 後可用
{amount_to_pay}安裝 Deposit Payments (Add-on) 後可用
{deposit_value}安裝 Deposit Payments (Add-on) 後可用
{gift_card}禮品卡代碼。啟用 禮品卡 選項後可用
{gift_card_amount}禮品卡金額。啟用 禮品卡 選項後可用
{gift_card_date_limit_from}禮品卡的生效起始日期。啟用 禮品卡 選項後可用
{gift_card_date_limit_to}禮品卡的到期日期。啟用 禮品卡 選項後可用
{gift_card_note}顧客針對禮品卡填寫的備註。啟用 禮品卡 選項後可用
{invoice_date}安裝 Invoices (Add-on) 後可用
{invoice_due_date}安裝 Invoices (Add-on) 後可用
{invoice_due_days}安裝 Invoices (Add-on) 後可用
{invoice_link}安裝 Invoices (Add-on) 後可用
{invoice_number}安裝 Invoices (Add-on) 後可用
{payment_status}付款的狀態
{payment_type}付款方式的類型
{service_tax}服務稅金額。安裝 Taxes (Add-on) 後可用
{service_tax_rate}安裝 Taxes (Add-on) 後可用
{total_price_no_tax}未稅總價。安裝 Taxes (Add-on) 後可用
{total_tax}此預約中包含的稅金總額(所有項目的合計)。安裝 Taxes (Add-on) 後可用

if 區塊(例如 {#if service_info}您的內容{/if})可用於條件情境。當您在內容範本中使用此區塊時,Bookly 會評估該條件並依此產生內容。若條件成立,指定的文字就會被插入並顯示在電子郵件通知或您的預約表單中。

若您使用可讓顧客在一次預約流程中預約多筆項目的附加元件,即可逐一顯示每筆預約的個別資訊。請使用 each 區塊:

{#each appointments as appointment}
您的內容
{/each}

在此區塊中,「您的內容」可包含任何文字與代碼,並會針對清單中的每筆預約重複顯示。用於顯示目前預約資訊的特殊代碼皆以「appointment.」開頭,例如 {appointment.service_name} 或 {appointment.appointment_date}。