Linux 软件免费装
Banner图

Graphics Cove Shop Pause & Hours

开发者 graphicscove
更新时间 2026年10月29日 17:16
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce opening hours store hours pause orders holiday mode

下载

1.0.0

详情介绍:

Graphics Cove Shop Pause & Hours gives a WooCommerce store two things that should always have been simple:
  1. 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.
  2. 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: 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 Both show the closed/reopening notice only when the shop is closed or paused.

安装:

  1. Upload the plugin to /wp-content/plugins/ or install it through the Plugins screen.
  2. Activate it.
  3. Go to WooCommerce > Pause & Hours to set your opening hours and messages.
  4. Use the toolbar toggle to pause and resume orders at any time.
  5. To check what customers see, view your shop in a logged-out / incognito window. While you are logged in as a shop manager, "Staff bypass" (on by default) lets you through to checkout even when closed.

屏幕截图:

  • One tap to pause, one tap to resume. The status panel shows exactly when the shop reopens, in your site's timezone.
  • The status panel with pause presets (30 minutes, 1 hour, until tomorrow, indefinitely) above the weekly opening-hours schedule, with multiple slots per day.
  • Holiday and closure date ranges, plus fully customisable closed, paused and "we reopen at…" messages.
  • Banner placement and colours, and the staff bypass option for testing checkout while closed.

升级注意事项:

1.0.0 Initial release.

常见问题:

I paused the shop but I can still reach the checkout. Is it broken?

Almost always one of two things:

  1. You are logged in as an administrator or shop manager. The "Staff bypass" setting (Access section, on by default) lets logged-in shop staff reach checkout while closed, so you can test payment and delivery. This is only your view. Logged-out customers are always blocked. To see exactly what a customer sees, open your shop in a private / incognito browser window where you are not logged in.
  2. The pause has expired. A "Pause for 30 minutes" pause ends after 30 minutes. Check the toolbar, or WooCommerce > Pause & Hours: it should say "Orders are PAUSED" or "Shop is CLOSED". If it says "Shop is OPEN", set a fresh pause.
If checkout is still reachable in a logged-out window while the status clearly shows closed, please open a support thread with your theme name and whether your Checkout page uses the Checkout block or the [woocommerce_checkout] shortcode.

Does it block people from browsing the shop?

No. Only checkout is blocked. Customers can browse and add to cart. On the checkout page the order form is replaced with a notice explaining when you reopen; their basket is kept.

What about the WooCommerce block checkout?

Supported. The Checkout block is replaced with the same "we reopen at…" panel, and order placement is blocked on the Store API request as well as the classic checkout.

Will it get stuck closed like other plugins?

That is the thing this plugin is designed to avoid. Pauses expire on their own and the schedule is evaluated fresh on each request: there is no cron flag to get stuck.

Can staff still test checkout while closed?

Yes. With "Staff bypass" enabled (default), any logged-in user who can manage WooCommerce reaches a normal, working checkout even while the shop is closed, so you can place test orders. Everyone else is blocked. Turn "Staff bypass" off if you want the block to apply to you as well. Either way, always confirm the closed state in a logged-out / incognito window, since your own admin session does not reflect what customers see.

Does it work with page caching?

Yes. While gated, cart and checkout tell page-cache plugins to bypass them, and the banner self-corrects on load via a no-store status endpoint (so it appears even on a page that was cached while you were open). Edge or proxy caches (Varnish, Cloudflare, etc.) may need a rule to skip caching on the cart and checkout pages, which is standard for WooCommerce.

更新日志:

1.0.0