Linux 软件免费装
Banner图

Holiday Mode for WooCommerce

开发者 hfranz
更新时间 2026年9月26日 04:50
捐献地址: 去捐款
PHP版本: 8.0 及以上
WordPress版本: 7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

calendar woocommerce vacation holiday absence

下载

1.7.1 2.8.0 2.9.0 1.8.3 1.8.0 3.0.0 3.1.0 1.2.0 1.3.0 1.4.0 1.5.0 1.6.0 1.7.0 1.8.1 1.9.0 1.9.3 2.0.0 2.1.0 2.2.0 2.4.0 2.5.0 2.6.0 1.1.0 1.8.2 1.9.1 1.9.2 2.3.0 2.7.0

详情介绍:

WooCommerce® Holiday Mode allows you to temporarily pause your online store during holidays, vacations, maintenance periods, or other planned breaks. Define a start and end date for your closed period and automatically enable or disable holiday mode. During this time, you can display a prominently visible custom absence message to inform your customers about your temporary closure, return date, or other important information. Features: WooCommerce® is a registered trademark of Automattic Inc.

安装:

Follow these steps to install and configure the plugin: Upload the plugin folder to the /wp-content/plugins/ directory Activate the plugin through the "Plugins" menu in WordPress Go to WooCommerce -> Settings -> Holiday Mode to configure your settings

屏幕截图:

  • The absence message on the shop page - purchasing is disabled for every product while Holiday Mode is active.
  • The same absence message shown in the "info" notice style, in German - notice color and translations adapt automatically.
  • The Holiday Mode settings page under WooCommerce -> Settings, where you configure the date range, notice color/icon, and vacation message.
  • The wp-admin Dashboard, showing the "Holiday Mode is currently active" reminder alongside the review-request notice shown to merchants who have used the plugin for a while.

常见问题:

Will items already in a customer's cart be removed when Holiday Mode starts?

Yes, if the "Disable purchasing" setting is enabled. As soon as Holiday Mode becomes active, existing cart contents are removed automatically so nobody can check out with items added before your break started.

Does Holiday Mode reactivate my shop automatically once the end date passes?

Yes. Once today's date is past your configured end date, Holiday Mode stops being active on the next page load - you don't need to log back in and switch it off manually. You can also turn it off early at any time from the settings page.

Can I warn customers before the shop actually closes?

Yes. Set "Advance notice" (under WooCommerce -> Settings -> Holiday Mode) to the number of days before your start date you'd like to give customers a heads-up. During that window, a separate, distinctly styled notice is shown - purchasing stays fully enabled until Holiday Mode itself becomes active on the configured start date.

Will Holiday Mode hide my shop from Google or affect my SEO?

No. Holiday Mode only disables purchasing and displays your absence message - it doesn't hide pages, add noindex tags, or otherwise change how your site is treated by search engines.

Does this work with caching plugins like WP Rocket, W3 Total Cache, or LiteSpeed Cache?

Yes. Saving your Holiday Mode settings automatically flushes the page cache of all major caching plugins (W3 Total Cache, WP Super Cache, WP Rocket, LiteSpeed Cache, WP Fastest Cache, Cache Enabler, Breeze, WP-Optimize, Hummingbird, SiteGround Optimizer, Swift Performance), and pages are marked as non-cacheable for as long as Holiday Mode is active, so visitors always see its current status.

Does this work with a headless/decoupled storefront (e.g. a custom app built on the WooCommerce Store API)?

Yes. New orders are blocked the same way for headless storefronts as for a regular WordPress theme: products become non-purchasable and adding to cart or checking out is rejected while Holiday Mode is active. Your frontend can also ask the WooCommerce Store API directly whether Holiday Mode is active and what your absence message is, so it can be displayed even though it never renders any WordPress page. No setup is required for this - it is available as soon as the plugin is active, using your existing Holiday Mode settings.

(For developers) What does the Store API extension data look like?

Holiday Mode is included automatically in the Cart and Checkout endpoint responses (/wc/store/v1/cart and /wc/store/v1/checkout), under extensions.holiday-mode-woocommerce: { "active": true, "purchasing_disabled": true, "message": "We are on vacation, back on 1 September.", "notice_type": "error" }

更新日志:

3.1.0 3.0.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.9.3 1.9.2 1.9.1 1.9.0 1.8.3 Minor translations update 1.8.2 Update plugins meta data 1.8.1 Update README.txt 1.8.0 1.7.1 1.7 1.6 1.5 1.4 1.3 1.2 1.1 1.0