HourGate lets your WooCommerce store take orders only while you are open. Set your opening hours, close for holidays, and pause orders in one click when the kitchen is busy. Shoppers see when you’re open and when you open next, and the store refuses orders it shouldn’t take. It works on the Checkout block, the classic checkout and the Store API.
It’s made for bakeries, cafés, restaurants, florists, grocers and any shop that can only fulfil orders at certain times.
Pause ordering from the admin bar or the Ordering tab: for 30 minutes, 1 or 2 hours, the rest of today, until the next opening, until a date and time you choose, or until you resume. It ends on its own.
Pick one:
The rules are checked on the server, not only on the page. They hold on the Checkout block, the classic checkout, direct Store API requests, add-to-cart (AJAX, Store API and add-to-cart links), “Order again” and express payment buttons.
Orders your staff create are never blocked: orders made in the admin, through the WooCommerce REST API, by other plugins and by subscription renewals go through at any hour. A customer can always pay for an order they already placed.
{next_open} (when you open next) and {closures_label} (the holiday’s label).[hourgate_status] and [hourgate_hours].What shoppers see stays correct behind page caches, because the status is fetched after the page loads.
Enforcement is off when you first install the plugin. Set your hours, check the preview, then turn on “Enforce opening hours” on the Ordering tab when you’re ready.
Shop managers can use HourGate, not only administrators.
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.HourGate is an open-source project. You can view the full sources (unminified JS) and contribute to the project on GitHub: Click here
This plugin does not connect to any external services. It sends no data off your site; the storefront status badge only calls your own site’s REST API (/wp-json/hourgate/v1/status).