Linux 软件免费装
Banner图

HourGate – Store Hours for WooCommerce

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

标签

opening hours vacation mode store hours pause orders closed store

下载

1.0.1 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. Products that can always be ordered Mark products or whole categories as "always orderable", for things like gift cards and vouchers. They can be bought while the store is closed, in every closed mode and on every checkout. A cart that mixes always-orderable and normal products is treated like any other cart while you're closed: the normal products still block the order. Delivery and pickup dates Let shoppers choose a date, and optionally a time window, for delivery or pickup. It's off after you install or update the plugin; turn on "Offer an order date" on the Ordering tab, under Order date and time. The date picker does not limit how many orders a day or window can take. Limits per slot are part of HourGate Pro. 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.
  • Ordering › Always orderable: choosing products and categories.
  • Ordering › Order date and time: the picker's settings and the delivery or pickup method list.
  • The date and time-window picker on the Checkout block.

升级注意事项:

1.0.1 New features, all off after you update: always-orderable products and a delivery or pickup date picker. Your settings are kept.

常见问题:

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.

Can customers choose a delivery or pickup date?

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.

Does the date picker limit how many orders a slot can take?

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.

Does it work with WooCommerce Local Pickup?

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.

What do customers see?

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.

Can my staff change the date after the order is placed?

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.

Can I make some products orderable while the store is closed?

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.

I updated from 1.0.0. Will anything change?

No. The new features are off until you turn them on, and your hours, closures and ordering settings are kept.

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.1 (28 November 2026) 1.0.0 (05 November 2026)