[WordPress] 外掛分享: HourGate – Store Hours for WooCommerce

首頁 › 外掛目錄 › HourGate – Store Hours for WooCommerce
WordPress 外掛 HourGate – Store Hours for WooCommerce 的封面圖片
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 6.7+ PHP 7.4+ v1.0.1 上架:2026-11-04

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「HourGate – Store Hours for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

Weekly hours: as many time ranges per day as you need, ranges past midnight (6 pm – 2 am), days closed all day, or open 24 hours.
Holiday closures: close your store for a date or a range of dates (vacation mode), with a label such as “Christmas” and an optional yearly repeat.
Special hours: different hours on one date, such as a short day before a holiday.
Preview: the next 14 days exactly as shoppers will see them, and whether you’re open now and why not.
Time zone: uses the time zone from Settings → General, and warns you when a fixed UTC offset means your hours won’t follow daylight saving changes.

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:

Block checkout: shoppers can browse and fill their cart, but can’t place an order until you open.
Accept orders for the next opening: orders still come in, marked with the time they’re scheduled for. The scheduled time shows on the order screen, in the order e-mails, on the thank-you page and in My Account.
Catalogue mode: add-to-cart buttons show “Closed” and are disabled while you’re closed.

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.

Built from your store hours: the dates and windows come from the same schedule as everything else, so closures, special hours and hours past midnight apply on their own. You set the time-window length (for example 2 hours), or choose dates only.
Minimum notice and how far ahead: for example “at least 1 day’s notice, up to 14 days ahead”. Optionally make the date required.
Delivery or pickup: WooCommerce’s Local Pickup is recognised automatically; map your other shipping methods to delivery, pickup or “no date needed”. The labels follow (“Delivery date”, “Pickup date”).
Checkout block and classic checkout: both, and the choice is checked again on the server when the order is placed, including express payment buttons.
Shown everywhere: on the order screen, in the order e-mails, on the thank-you page and in My Account.
Staff can change it: shop managers can change or remove an order’s date and window on the order screen, or add one to a phone order. Nothing is sent to the customer.

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

A closed message with tokens: {next_open} (when you open next) and {closures_label} (the holiday’s label).
A notice bar at the top of WooCommerce pages or every page, which shoppers can dismiss.
Cart and checkout notices explaining why they can’t order now, or when their order is scheduled for.
“Store status” and “Opening hours” blocks, and the shortcodes [hourgate_status] and [hourgate_hours].

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

Pastmark – Activity Log, User Activity & Audit Trail: Activity log & audit trail for WordPress. Track user activity, logins, content changes, WooCommerce orders and site settings in real time.
BugTrace – Debug Log Tool: A minimalist debugging companion for WordPress. View and download your debug log, toggle 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.

Contribute
HourGate is an open-source project. You can view the full sources (unminified JS) and contribute to the project on GitHub: Click here
External Services
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). The delivery and pickup date picker asks your own site’s REST API (/wp-json/hourgate/v1/availability) for the available dates; nothing leaves your site.

延伸相關外掛

文章
Filter
Mastodon