Holiday Mode for WooCommerce

描述

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:

  • Disable new orders by removing the add-to-cart button and displaying a custom message
  • Disable the shopping cart (existing cart items will be removed when holiday mode is activated)
  • Disable checkout during the holiday period
  • Display a prominent custom absence message to inform customers about your temporary closure
  • Schedule holiday mode with a specific start and end date
  • Automatically deactivate holiday mode when the vacation period ends

WooCommerce® is a registered trademark of Automattic Inc.

Privacy Disclosure

This plugin does not collect, process, or store any personal data.

螢幕截圖

安裝

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

評價

2023年3月14日
I’ve tested with version 6.1.1. The banner does not appear, it only removes the add to basket and google and/or apple pay button. It would be useful if the settings were more fruitful and it would allow you to just show the message rather than stop orders all together.
2023年3月9日
Great! Simple and useful plugin. Everything works flawlessly. This plugin enables everything that I could not achieve with code snippets. Amazingly good.
2022年8月17日
Easy to configure, it does what it should and if after the vacation everything works again (the cache) I am very happy. The alternative message is not displayed although configured. But for the functionality and because the plugin is free 4 stars anyway.
2021年12月16日
I was tasked with shutting down a client’s WooCommerce store for the Xmas holidays so being lazy and in a hurry I looked to see if there was a well worn plugin for that simple task. Some were far too elaborate, others expensive for what little I needed, but this one with zero reviews yet turned out to be just right. Closed for the Holidays, that’s it. I’m going to make myself a rum and eggnog now. I’d like to buy Heinrich Franz a drink. Maybe I’d prefer the controls somewhere under Woocomerce than under Appearance – Customize – but hey, whatever.
閱讀全部4個評價

貢獻者及開發者

“Holiday Mode for WooCommerce” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Holiday Mode for WooCommerce 外掛目前已有 2 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Holiday Mode for WooCommerce 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.4.0

  • New: Settings are now validated on save – Holiday Mode can no longer be activated with a missing/invalid date range or an empty vacation message.
  • New: “Disable purchasing” setting lets you choose whether Holiday Mode blocks purchases (removes add-to-cart) or only shows the holiday notice. Enabled by default.

2.3.0

  • Lower minimum required PHP version to 8.3 to allow installation on WordPress 6.7 and higher.

2.2.0

  • Fixed: Holiday notice could appear below the archive title/result count instead of at the very top of the page on block themes (e.g. Twenty Twenty-Five) using WooCommerce’s default block-based Shop template.

2.1.0

  • Fixed: Holiday mode now also removes the “Add to cart” / “Buy product” button for external/affiliate and grouped products.

2.0.0

  • Enhanced: Holiday mode now explicitly removes the “Add to cart” button for variable products.

1.9.3

  • Fixed: Plugin was incorrectly deactivated after upgrading from a previous active version.

1.9.2

  • Security: Added improved escaping for holiday notice messages to strengthen protection against XSS vulnerabilities.
  • Maintenance: Refactored internal code and cleaned up various areas of the plugin.

1.9.1

  • Fixed: Holiday notice was not displayed on single product pages in some classic themes.
  • Fixed: Holiday notice was missing on shop, archive, cart, and checkout pages in some block theme setups. The notice is now displayed correctly in these cases.

1.9.0

  • Improved compatibility with caching plugins.
  • Replaced the start and end date text fields with date pickers to improve usability.

1.8.3

Minor translations update

1.8.2

Update plugins meta data

1.8.1

Update README.txt

1.8.0

  • Settings migrated from the Customizer to a dedicated page under WooCommerce -> Settings -> Holiday Mode
  • Existing Customizer settings are migrated automatically on first admin page load
  • WooCommerce HPOS (custom order tables) and Cart/Checkout Blocks compatibility declared
  • Security and reliability hardening (escaping, sanitization, timezone handling)

1.7.1

  • Compatibility for WordPress 5.9

1.7

  • Add additional message on product page to increase theme compatibility (if woocommerce_before_main_content is not used by active theme)
  • Settings are only visible if WooCommerce is activated within WordPress
  • HTML is now possible for customer message
  • Only provide vacation feature if WooCommerce is available
  • Lowest PHP version is now 7.3, because lower versions reached EOL

1.6

  • Fixed warning: Timezone is used correctly now

1.5

  • Add further translation

1.4

  • Fixed default translation language

1.3

  • Add german language

1.2

  • Fixed defined version, to allow updates

1.1

  • Fixed settings: names are now more unique

1.0

  • Initial version