Linux 软件免费装
Banner图

HourGate – Store Hours for WooCommerce

开发者 nsgawli
更新时间 2026年11月5日 23:01
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv3 or later
版权网址: 版权信息

标签

opening hours vacation mode store hours pause orders closed store

下载

1.0.0

详情介绍:

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. Opening hours that fit real shops Pause orders in one click 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. What happens while you're closed 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. Tell shoppers when you're open What shoppers see stays correct behind page caches, because the status is fetched after the page loads. Safe to try 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. Other Plugins By Us

安装:

  1. Make sure WooCommerce is installed and active.
  2. In Plugins → Add New, search for "HourGate", then install and activate it. Or upload the zip in Plugins → Add New → Upload Plugin.
  3. Open HourGate in the admin menu. On the Store hours tab, set your weekly hours, closures and special hours.
  4. Check the Preview under Store hours.
  5. On the Ordering tab, choose what happens while you're closed, edit the closed message if you like, and turn on "Enforce opening hours".

屏幕截图:

  • Closures: holidays and vacations, with an optional yearly repeat.
  • Preview: the next 14 days as shoppers will see them, and whether you're open now.
  • Ordering: what happens while you're closed, the closed message and the pause.
  • Pause ordering from the admin bar.
  • The notice bar on the shop while the store is closed.
  • The Checkout block in "Accept orders for the next opening" mode, with the time the order is scheduled for.
  • The Store status and Opening hours blocks on a page.

常见问题:

Why does my store still take orders after I activated the plugin?

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.

Will it block orders my staff create?

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.

Can a customer pay for an order while the store is closed?

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.

Does it work with the Checkout block and the classic checkout?

Yes, both, and with direct Store API requests. The rules are checked on the server when the order is placed.

Does it work with page caching?

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.

Do express payment buttons (Apple Pay, Google Pay) get around the opening hours?

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.

Which time zone does it use?

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.

Can shop managers use it?

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.

What happens to my settings when I uninstall?

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.

Do I need HourGate Pro?

No. HourGate works fully on its own. Pro is an optional add-on for delivery and pickup slots.

更新日志:

1.0.0 (05 November 2026)