| 开发者 | nsgawli |
|---|---|
| 更新时间 | 2026年11月5日 23:01 |
| 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.
No. HourGate works fully on its own. Pro is an optional add-on for delivery and pickup slots.