內容簡介
增加或替換 WooCommerce Bookings 插件的功能。
此外掛新增了短碼 wcbooking_search,可以產生一個表單,其中包含時間和人數的選擇欄位。
wcbooking_search duration_unit=”{month|day|hour|minute}” duration=”” [method=”{include|exclude}” ids=””]
您可以將可預訂的產品連接在一起,例如分開預訂房間或整棟房子。
使用短碼 [wcbooking_calendar] 可將日曆添加到頁面中。如果在產品頁面上使用,產品 ID 會自動添加。
選項:
product_id=[product_id]
class=””
default_view=”[view]”
header_left=””
header_center=””
header_right=””
可用的檢視列表如下:
* dayGridMonth – 月曆視圖
* timeGridWeek – 本週時間格視圖
* timeGridDay – 今日時間格視圖
* resourceTimeGridDay – 以資源分隔的每日時間格
* listWeek – 本週事件清單
* title – 日/月或週標題
外掛標籤
開發者團隊
② 後台搜尋「WooCommerce Bookings Extensions」→ 直接安裝(推薦)
原文外掛簡介
Adds or replaces functionality in the WooCommerce Bookings plugin.
This plugin adds the short code wcbooking_search which generates a form with a duration and possibly persons selection field
wcbooking_search duration_unit=”{month|day|hour|minute}” duration=”” [method=”{include|exclude}” ids=””]
You can link bookable products together. If you are booking out rooms in a house separately or the whole house.
Use the shortcode [wcbooking_calendar] to add a calendar to the page. If used on a product page the product id is automatically added.
Options:
product_id=[product_id]
class=””
default_view=”[view]”
header_left=””
header_center=””
header_right=””
List of possible views:
* dayGridMonth – Month view
* timeGridWeek – Time grid of the week
* timeGridDay – Time grid of the day
* resourceTimeGridDay – Day time grid separated by resource
* listWeek – List of events for the week
* title – Day/Month or Week title
