| 开发者 | master14566 |
|---|---|
| 更新时间 | 2026年11月26日 00:50 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
_daybound_delivery_date).--daybound-* CSS variables..pot plus Spanish translations) and accessible (labelled calendar, live-region announcements).daybound-delivery-date folder to /wp-content/plugins/, or install the zip via Plugins → Add New → Upload Plugin.Install and activate Daybound, then open WooCommerce → Delivery Settings. Choose your delivery days, lead time and blackout dates in the Availability tab. The Select a delivery date calendar appears in your block checkout right away; no code or shortcode is needed.
Yes. Untick the weekdays you do not deliver and click your holidays on the blackout calendar. Those days are disabled in the checkout calendar and rejected by the server.
Yes. In the General tab, untick "Customers must choose a date" and the field becomes optional. You can also change its label and add a help text.
Those are part of Daybound Pro, together with an order cut-off time and a CSV export of each day's deliveries.
Yes. The field is added through WooCommerce's official Block Checkout Integration API, so it renders inside the checkout form and uses native validation.
No. Daybound is built for the modern block checkout, which has been the WooCommerce default since 8.3. If your store still uses the classic shortcode checkout, switch to the block checkout to use this plugin.
Yes. The plugin declares custom_order_tables compatibility and reads/writes order data exclusively through the order object API ($order->get_meta() / $order->update_meta_data()), so it is correct on both HPOS and legacy storage.
No. Every date is re-validated on the server by an authoritative validator that derives all boundaries (today, lead time, blackout list, timezone, maximum window) from your server configuration and ignores anything the client claims. The calendar's disabling is a UX convenience, never the security boundary.
The plugin is designed to never break a purchase. If the calendar fails to render, it falls back to a native date input. If the date can't be saved at order time, the order still completes without a date and the issue is logged, so you can contact the customer to agree on one. Internal failures are written to WooCommerce → Status → Logs (source daybound-delivery), never shown to the shopper.
Yes. All user-facing strings (PHP and JavaScript) use the daybound-delivery-date text domain, and the plugin ships languages/daybound-delivery-date.pot. JavaScript strings are wired with wp_set_script_translations().
--daybound-* CSS variables, so themes can restyle it without touching code.VALIDATION_STORE_KEY blocking of "Place Order" when no date is selected._daybound_delivery_date) and admin orders-list column + order-detail display..pot, registers JS translations) and accessibility (labelled calendar, live regions, aria-describedby)._load_textdomain_just_in_time) notice by deferring dependency-notice translation to after init.