[WordPress] 外掛分享: Graphics Cove Shop Pause & Hours

首頁 › 外掛目錄 › Graphics Cove Shop Pause & Hours
WordPress 外掛 Graphics Cove Shop Pause & Hours 的封面圖片
全新外掛
安裝啟用
—
尚無評分
2 天前
最後更新
—
問題解決
WordPress 6.2+ PHP 7.4+ v1.0.0 上架:2026-10-28

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Graphics Cove Shop Pause & Hours」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Graphics Cove Shop Pause & Hours gives a WooCommerce store two things that should always have been simple:

A pause switch in the toolbar. One tap to stop taking orders: for 30 minutes, an hour, until tomorrow, or until you turn it back on. Resume in one tap.
A weekly opening-hours schedule with multiple slots per day (open for lunch, close, open again for dinner), overnight slots, and holiday date ranges.

When you are paused or closed, customers can still browse and build a cart, and only checkout is blocked, with a clear “we reopen {day} at {time}” notice and banner. Popular with takeaways, cafés, bakeries and florists taking orders on their own site, but useful for any shop that closes.
Built to be reliable
The common complaint about existing hours/vacation plugins is that they get stuck: the store closes and never reopens, or orders slip through anyway. Those are symptoms of running a time-critical control on WP-Cron and page caches. This plugin avoids that:

No WP-Cron. A pause has an end time; when it passes, it simply stops applying. There is no scheduled job that can fail to fire and leave you closed.
Server-time check on every checkout. The block is enforced by a fresh check at the moment the order is submitted, on both the classic checkout and the block (Store API) checkout. It is not a cached flag.
DST-safe. All schedule maths runs in your site timezone via PHP’s date handling. No manual offsets.
Cache-aware. While gated, cart and checkout signal page-cache plugins to bypass them (DONOTCACHEPAGE + no-cache headers), and the banner re-checks a no-store status endpoint on load, so it still appears on a page that was cached while you were open.
Never a dead end. The pause switch and the “open now” override are separate controls, and each clears in one tap.

Free, with no account
Everything above works with no sign-up and no external service: hours, holidays, banner, shortcode, block and checkout gating. The plugin makes no external HTTP requests and stores no personal data.
Shortcode & block

Shortcode: [gcsph_banner]
Block: “Shop Pause & Hours banner”

Both show the closed/reopening notice only when the shop is closed or paused.

延伸相關外掛

文章
Filter
Mastodon