| 开发者 | nsgawli |
|---|---|
| 更新时间 | 2026年11月28日 13:23 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
{next_open} (when you open next) and {closures_label} (the holiday's label).[hourgate_status] and [hourgate_hours].WP_DEBUG, WP_DEBUG_LOG, WP_DEBUG_DISPLAY, and SCRIPT_DEBUG without editing wp-config.php, and inspect server info, wp-config.php, .htaccess, and PHP info — all from your dashboard.Enforcement is off after install, so you can set your hours first. Turn on "Enforce opening hours" on the Ordering tab. Pausing works even while enforcement is off.
No. HourGate only checks orders shoppers place on your site. Orders created in the admin, through the WooCommerce REST API (for example a POS or phone-order app), by other plugins, and subscription renewals are never blocked.
Yes. Paying an order that already exists (the "Pay for order" page) is allowed at any time. Developers can change this with the hourgate_allow_order_pay_while_closed filter.
Yes, both, and with direct Store API requests. The rules are checked on the server when the order is placed.
Yes. Cart and checkout pages are never cached, and every order is checked on the server. On cached pages, the notice bar, status block and catalogue buttons ask the store for the current status after the page loads, from a REST route that is never cached. We tested with WP Super Cache, W3 Total Cache, WP Fastest Cache and LiteSpeed Cache.
No. The buttons stay visible, but the store refuses the order when it reaches checkout, with your closed message, and no order is created. We checked the requests the express buttons of WooCommerce Stripe Gateway and WooPayments send, on a test store. A live wallet payment hasn't been tested yet, so please verify it on your own store.
The one in Settings → General. Choose a city (for example "Europe/London") rather than a fixed UTC offset: with an offset, your hours stay on the same UTC time all year and won't follow daylight saving changes. HourGate shows a warning when your site uses an offset.
Yes. Anyone who can manage WooCommerce can change the hours, the ordering settings and pause ordering. Only administrators can turn on "Remove Data on Uninstall". Developers can change the capability with the hourgate_manage_capability filter.
They are kept, unless an administrator turned on "Remove Data on Uninstall" on HourGate's General Settings tab. On a multisite network, each site keeps or removes its own data according to its own setting.
Yes. Turn on "Offer an order date" on the Ordering tab (Order date and time). The dates and time windows come from your store hours, so closed days and holidays are never offered. It works on both the Checkout block and the classic checkout.
No. The picker in HourGate has no limits on orders per day or window; every date and window your hours allow is open to any number of orders. Limits per slot are part of the optional HourGate Pro add-on.
Yes. Local Pickup is recognised as pickup automatically. Other shipping methods are treated as delivery unless you map them to pickup or "no date needed" in Order date and time. If a cart has both kinds, delivery is used.
A "Delivery date and time" or "Pickup date and time" group on the checkout, with a list of dates and, if you use windows, a list of time windows. The order, the e-mails, the thank-you page and My Account show the choice.
Yes. On the order screen, anyone who can edit that order can change the date and window or remove them. Staff can pick any date your schedule allows, without the minimum notice. The customer isn't e-mailed automatically.
Yes. On the Ordering tab, under "Always orderable", pick products or categories. A cart with only those products can be ordered at any time; a cart that also holds other products follows your closed-store rule.
No. The new features are off until you turn them on, and your hours, closures and ordering settings are kept.
No. HourGate works fully on its own. Pro is an optional add-on for delivery and pickup slots.
GET /hourgate/v1/availability, and hooks for developers.