| 开发者 | nirwannirwan |
|---|---|
| 更新时间 | 2026年5月9日 15:02 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[restopick_form] to render the pickup date/time fields anywhere on the site (popups, landing pages, custom checkout layouts).Yes. Order meta is written via $order->update_meta_data() and is fully HPOS-compatible.
Yes. Add multiple rows in the weekly schedule (e.g. lunch 11:30–15:30 and dinner 17:00–21:00 on the same days).
Pickup date, pickup time, and order type appear on the admin order detail page, the Order Type column on the orders list, customer and admin order emails, and the customer's thank-you page.
The plugin uses a UTC offset (for example, +07:00) that is independent from the WordPress timezone setting. Daylight saving time is not applied.
Yes. Use the Closed dates field on the settings page to add one or more dates. The checkout datepicker greys those dates out and the server rejects submissions for them.
No. The free plugin is fully functional on its own. Pro is optional and adds Menu Hours, Tips, the shortcode, and a REST API.
restopick_get_closed_dates( $start_ymd, $end_ymd ) helper and restopick_pickup_closed_dates filter so add-ons (e.g. the Pro recurring closed days feature) can extend the closed-pickup-dates list within a window. JS config, settings header summary, and checkout validation now route through the helper.wpc_order_type to restopick_order_type_column for consistent prefixing.woocommerce-pickup-fields to restopick-pickup-fields (and the matching __field-wrapper modifier) so all in-plugin selectors share the same prefix.woocommerce-pickup-details to restopick-pickup-details.phpcs:ignore lines around prefixed hook names.wpcPickupAdmin to restopickPickupAdmin for consistent prefixing.