Mô tả
INTS Tour Service Date Selector adds a flexible booking date and time picker to any WooCommerce simple or variable product without requiring categories, tags, or third-party option plugins.
Service Types
- Open Dated — Works like a normal WooCommerce product; no date or time fields displayed.
- Just Date, No Time — Displays an inline Flatpickr calendar; customer must select a date before purchasing.
- Date and Time — Displays both an inline calendar and a time-slot selector driven by your weekly operating schedule.
Weekly Schedule
For each product you can configure per-weekday availability with start and end times. Unavailable days are automatically greyed out in the calendar. Time slots are generated in 15-minute intervals within the configured range.
Variable Product Support
Each product variation can override the parent’s service type and schedule. The booking fields update instantly when a shopper selects a variation.
Security
Every add-to-cart request is validated on the server with nonce verification, sanitization, and escaping. Checkout validation runs a second pass to reject manipulated cart items.
Booking Data
Selected date and time appear in:
* Cart and checkout
* Admin order screen
* Customer confirmation emails
* My Account order history
Third-Party Libraries
This plugin bundles the following third-party library locally (no external/CDN requests are made):
- Flatpickr 4.6.13 — lightweight date/time picker. License: MIT.
Included asassets/vendor/flatpickr/flatpickr.min.jsandassets/vendor/flatpickr/flatpickr.min.css.
Unminified source is available upstream at https://github.com/flatpickr/flatpickr/tree/v4.6.13 (npm: flatpickr@4.6.13).
Cài đặt
- Upload the
ints-tour-service-date-selectorfolder to/wp-content/plugins/. - Activate the plugin through Plugins Installed Plugins.
- Edit any product, open the Tour Service Settings tab, and choose a Service Type.
Hỏi đáp
-
Does this work with variable products?
-
Yes. Each variation can have its own service type and weekly schedule that overrides the parent product.
-
Which themes are supported?
-
The plugin is theme-independent. It is tested with Shoptimizer, Storefront, Astra, Kadence, GeneratePress, OceanWP, Flatsome, and block themes.
-
Is it compatible with Elementor?
-
Yes. The plugin uses only WooCommerce hooks and never modifies theme templates. It works with Elementor and Elementor Pro.
-
Is it HPOS compatible?
-
Yes. WooCommerce High Performance Order Storage (custom order tables) compatibility is declared.
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“INTS Tour Service Date Selector” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “INTS Tour Service Date Selector” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.0.0
- Initial release.