Linux 软件免费装

Bookings Calendar for WooCommerce

开发者 moiseh
更新时间 2026年11月12日 21:12
PHP版本: 4.8 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

booking calendar availability calendar appointments woocommerce bookings bookings calendar

下载

1.1.0 1.0.11 1.0.28 1.0.1 1.0.10 1.0.2 1.0.20 1.0.21 1.0.30 1.0.12 1.0.14 1.0.15 1.0.16 1.0.18 1.0.22 1.0.23 1.0.31 1.0.33 1.0.34 1.0.4 1.0.7 1.0.8 1.0.19 1.0.29 1.0.38 1.0.39 1.0.9 1.0.24 1.0.25 1.0.26 1.0.3 1.0.32 1.0.36 1.0.37 1.0.13 1.0.27 1.0.35 1.0.41 1.0.5 1.0.42 1.0.6

详情介绍:

Bookings Calendar for WooCommerce shows the free and the taken slots of your WooCommerce Bookings products on one calendar, so your customers see what is open at a glance — how many spots are left, what is sold out, when the next free slot is — and book it in a click. Add it with the Bookings Calendar block, in the editor and in block themes, or with the [wbc-calendar] shortcode. Attention: this plugin is an add-on for the official WooCommerce Bookings extension. It provides the calendar on your pages, not the booking functionality or the bookable product types. [youtube https://www.youtube.com/watch?v=Gu797uhZKXQ] Free features: Premium version features: Get the PRO version here. [youtube https://www.youtube.com/watch?v=MORzKyVO6ok]

安装:

  1. Upload woo-bookings-calendar.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. It's done. Now you can go to the Settings to configure what you want

屏幕截图:

  • The Bookings Calendar block in the editor — its view, products, categories and start date in the sidebar
  • The month view
  • The information tooltip on a slot: the product, its price (Premium) and the spots left
  • On a phone the calendar shows as a list of the coming slots
  • The settings of 1.1.0: the spots left, the first free day, the list on phones, the tooltip, the slots cache
  • Premium: book from the calendar — the booking window opens over it with the clicked slot chosen and its cost worked out
  • Premium: the next free slots in a short list, each with a Book button (the Upcoming Bookable Slots block or `[wbc-upcoming]`)

常见问题:

Why my calendar events taking so much time to load?

When it happens the most common issue is the user is viewing calendar in Month mode, and bookable products are divided by small blocks of days, hours or minutes. This cause heavy CPU load to calculate events availability, and the solution is to set higher Booking duration blocks, or/and limit the calendar to display only in Day or/and Week mode.

Developer hooks

PHP filters (add_filter):

  • wbc_fullcalendar_options — the FullCalendar 6 options (array)
  • wbc_calendar_start_date — the date the calendar opens on (Y-m-d)
  • wbc_event_row — one event before it goes to the calendar ($event, $post, $product, $availables)
  • wbc_build_events_array — all the events of one request ($events, $products, $start, $end)
  • wbc_booking_products_args — the query of the products the calendar lists
  • wbc_bookable_product_types — the product types it lists (default array( 'booking' )) — since 1.0.42
  • wbc_available_colors — the colours of the available slots, one per product ($colors, $product) — since 1.0.42
  • wbc_color_available / wbc_color_unavailable — one product's colour ($product; return a CSS colour)
  • wbc_calendar_class — the calendar element's CSS classes
  • wbc_shortcode_html — the calendar's HTML ($html, and since 1.0.42 the shortcode's $atts)
  • shortcode_atts_wbc-calendar — WordPress's own filter of the [wbc-calendar] attributes — since 1.0.42
  • wbc_frontend_vars — the values handed to the calendar script (WBCVARS)
JavaScript events (jQuery, on document):
  • wbc_calendar_options (options, $el) — the FullCalendar options, before the calendar is created: callbacks go here — since 1.0.42
  • wbc_events_request (postData, info) — the AJAX request for the events, before it is sent — since 1.0.42
  • wbc_events_loaded (events, info) — the events the server sent, before they are drawn — since 1.0.42
  • wbc_calendar_loaded ($el, calendar) — the calendar is drawn; it is also window.wbcCalendar
  • wbc_event_click (event, jsEvent), and wbc_event_render (event, $element) on document.body

更新日志:

1.1.0 1.0.42 1.0.41 1.0.39 1.0.38 1.0.37 1.0.36 1.0.35 1.0.34 1.0.33 1.0.32 1.0.31 1.0.30 1.0.29 1.0.28 1.0.27 1.0.26 1.0.25 1.0.24 1.0.23 1.0.22 1.0.21 1.0.20 1.0.19 1.0.18 1.0.17 1.0.16 1.0.15 1.0.14 1.0.13 1.0.12 1.0.11 1.0.10