=== Store Vacation Lite for WooCommerce ===
Contributors: mypreview
Tags: woocommerce, vacation, holiday, store closed, catalog mode
Donate link: https://mypreview.one/store-vacation-for-woocommerce/
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.9.9
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Pause WooCommerce orders during vacations, holidays, or fulfilment breaks while keeping your store online and your products visible.

== Description ==

*Formerly known as Woo Store Vacation, trusted by WooCommerce stores since 2017.*

Take a break from new orders without taking your WooCommerce store offline. Store Vacation Lite for WooCommerce lets you schedule a temporary closure, pause purchasing, and show customers a clear notice while your products and store pages stay available to browse.

Setup takes only a few minutes. Choose your vacation dates, decide whether purchases should be disabled, write your notice, and save. The store closes automatically at the scheduled time and reopens when the vacation ends.

Use it when you want to

* Take time off without receiving new orders.
* Pause checkout while still letting customers browse your products.
* Close for a public holiday, fulfilment break, stock review, or short maintenance window.
* Tell customers when the store will reopen.
* Keep selected products available while the rest of the catalog is paused.
* Avoid missed expectations and unnecessary support messages.

= Pause orders without hiding your store =

When vacation mode is active, your shop stays online and customers can continue browsing products. Enable "Disable Purchase" when you want to stop new orders by removing or disabling cart, checkout, and add-to-cart behavior during the scheduled closure.

Your storefront remains accessible instead of being replaced with a maintenance page, so customers can still discover products and return when you reopen.

= Schedule the closure and reopen automatically =

Set a start date and end date using your site's local timezone. Store Vacation Lite for WooCommerce applies the vacation settings during that period and restores normal store behavior when the end date is reached.

If plans change, you can update the dates or turn vacation mode off manually at any time.

= Tell customers what is happening =

Add a clear vacation notice so customers know why ordering is paused and when they should return.

The notice can include

* Custom message text.
* `{{start_date}}` and `{{end_date}}` smart tags.
* Custom text and background colors.
* A call-to-action button.
* A custom button URL, such as your contact page.

The notice appears on WooCommerce shop and product pages. You can also place it elsewhere with the Store Vacation Notice block, Elementor widget, or `[woo_store_vacation]` shortcode.

= Keep selected products available =

A store closure does not always need to apply to everything. The Conditions settings let you keep selected items purchasable while vacation mode is active.

You can exclude

* Products.
* Product categories.
* Product tags.
* Product types.
* Shipping classes.

This is useful when you want to pause physical fulfilment but continue selling products such as digital downloads, gift cards, or selected pre-orders.

= Built for real store situations =

Store Vacation Lite for WooCommerce is designed for the closure situations merchants actually run into, including personal vacations, holidays, illness, family emergencies, fulfilment delays, stock reviews, maintenance windows, and short business breaks.

The plugin is translation-ready and includes configuration support for multilingual stores using WPML and Polylang.

= Lite features =

* Schedule a temporary vacation period.
* Pause purchases automatically during vacation mode.
* Keep your shop and products visible while purchasing is paused.
* Display a vacation notice on WooCommerce shop and product pages.
* Add the notice anywhere with a block, shortcode, or Elementor widget.
* Add a call-to-action button to the notice.
* Use `{{start_date}}` and `{{end_date}}` smart tags in your message.
* Customize notice text and background colors.
* Keep selected products, categories, tags, product types, or shipping classes available.
* Allow shop managers to manage vacation settings.
* HPOS compatible.
* Translation-ready with WPML and Polylang support.

## Need more control? Upgrade to Store Vacation Pro

The free plugin handles a straightforward one-off closure well. Store Vacation Pro is built for stores that close more often, need recurring schedules or opening hours, want customers to keep building or saving carts, need shipping behavior during closures, or want a clearer picture of what happened while ordering was paused.

[Upgrade to Store Vacation Pro](https://mypreview.one/store-vacation-for-woocommerce/ "Store Vacation Pro") to unlock the full workflow.

**With Store Vacation Pro, you can**

**Plan closures around the way your business actually runs**

* Schedule **unlimited vacation periods** and plan holidays or seasonal breaks months in advance.
* Set **recurring weekday closures** for regular non-working days or custom weekly patterns.
* Configure **opening hours** and optionally close the store automatically outside them.
* Review upcoming, active, and past closures in a dedicated **calendar**.
* **Copy conditions between schedules** instead of rebuilding the same rules each time.

**Keep customers engaged while checkout is closed**

* **Allow cart building while checkout is closed** so shoppers can keep adding products during vacation mode.
* Use **Save Cart for Later** so customers can save and restore a signed cart link when you reopen.
* Let customers **copy, bookmark, or share** their saved-cart link across devices.
* **Email the saved cart link** to logged-in customers from the storefront.
* Place the saved-cart action on custom pages and Cart Block layouts with a dedicated **block or shortcode**.
* Show a **countdown timer** to the reopening date inside your vacation notice.
* Display a site-wide **announcement bar** across the storefront.
* Show an **advance notice before closure** so customers have time to order early.

**Control shipping during a closure**

* **Hide selected shipping methods** for individual Schedule or Weekday closures.
* Create **Vacation Shipping Options** with their own name, cost, applicable zones, and checkout description.
* Choose whether a Vacation Shipping Option appears in WooCommerce order emails.
* Apply Vacation Shipping Options to **all closures, selected schedules, or selected weekday closures**.
* Control how **Free Shipping** is handled while vacation shipping rules are active.

**Protect checkout when order activity looks suspicious**

* Use **Checkout Protection** to automatically Force Close checkout when unusual order activity suggests a possible carding attack or bot storm.
* Configure separate **rapid-order, same-IP, and payment-failure thresholds** with rolling time windows.
* Clear protection automatically or manually, show a reusable customer notice, and send administrator emails when protection is triggered.
* Review Checkout Protection trigger and clear events inside vacation Reports.

**Measure what happened while you were away**

* Use the **Vacation Reports dashboard** to review events, completed checkouts, revenue, and unique customers.
* Review an activity chart, **Recent Activity** table, and **Top Products** breakdown.
* Track cart additions, removals, quantity changes, saved-cart emails, completed checkouts, and vacation shipping activity.
* Filter reports by date range and vacation period.
* Export Recent Activity to **CSV**, including larger datasets with batched export handling.
* Set **data retention** rules to remove older report data automatically.
* Clear report data without removing orders, saved carts, or vacation settings.
* **Track vacation orders** from the WooCommerce Orders screen.

**Control exactly what customers see**

* **Replace shop pages with custom content** during vacation mode.
* **Password-protect shop access** with a shared password.
* Create **private access links** for approved customers.
* Let approved visitors **bypass restrictions** and purchase normally while the rest of the store stays paused.
* **Hide prices, add-to-cart controls, and mini carts** while vacation mode is active.
* Create **advanced vacation notices** with reusable templates, smart tags, rich text, calls to action, and custom styling.
* Use the **Vacation Content block** to show custom content only while vacation mode is active.

**Fine-tune who and what stays available**

* Exclude by product, category, tag, product type, shipping class, **WooCommerce brand**, or **user role**.
* Keep product exclusions and closure Conditions aligned across storefront, cart, and checkout behavior.
* Choose whether orders placed during an active closure receive a contextual **private order note**.

**Manage, monitor, and automate with confidence**

* Receive **admin reminder emails** before a vacation starts.
* Use the **dashboard widget** to see upcoming closures at a glance.
* Show an optional **WordPress admin-bar status badge** for open, closed, or Checkout Protection states.
* **Force close the store instantly** without creating a schedule.
* Review a settings **Behavior summary** that explains the customer-facing vacation experience you have configured.
* **Import and export settings** between stores.
* Use the **REST API** to work with vacation schedules programmatically.
* Use the **WordPress Abilities API** to discover and manage Store Vacation status, Force Close, schedules, recurring weekday closures, Opening Hours, notices, and Vacation Shipping Options through permission-checked abilities.
* Use the **integration condition API** so compatible extensions can safely evaluate vacation state, closure type, checkout availability, and mixed-cart availability.

If your store needs recurring closures, multiple schedules, opening hours, saved carts, vacation shipping, Checkout Protection, reporting, or more control over what customers experience while the shop is closed, [Store Vacation Pro](https://mypreview.one/store-vacation-for-woocommerce/ "Store Vacation Pro") is the best upgrade path.

== Installation ==

= Minimum Requirements =

* PHP version 7.4 or greater.
* MySQL version 5.6 or greater, or MariaDB version 10.0 or greater.
* WordPress version 6.5 or greater.
* WooCommerce version 5.5 or greater.

= Automatic installation =

Automatic installation is the easiest option. WordPress handles the file transfer, and you do not need to leave your web browser.

To install the plugin automatically, log in to your WordPress dashboard, navigate to Plugins » Add New, and search for "Store Vacation Lite for WooCommerce".

Once you find the plugin, click "Install Now", then activate it.

= Manual installation =

The manual installation method requires downloading the plugin and uploading it to your web server using your preferred FTP application.

You can also read the WordPress guide for [managing plugins manually](https://wordpress.org/support/article/managing-plugins/#manual-plugin-installation "Manual plugin installation").

= Updating =

Automatic updates should work smoothly, but it is always recommended to back up your site before updating plugins.

== Frequently Asked Questions ==

= Why should I use Store Vacation Lite for WooCommerce? =

Use it when you need to temporarily pause new WooCommerce orders without taking your store offline. You can schedule the closure, stop purchasing, keep the catalog visible, and tell customers when ordering will resume.

It works well for vacations, holidays, illness, family emergencies, fulfilment delays, stock reviews, maintenance windows, or any short period when you cannot process new orders.

= I installed "Woo Store Vacation", is this the same plugin? =

Yes. Woo Store Vacation has served WooCommerce stores since 2017. It was renamed to Store Vacation Lite for WooCommerce to comply with WooCommerce branding guidelines, and the underlying plugin, your settings, schedules, and notice content all carry over automatically. Only the display name changed.

If you arrived here from a tutorial, video, blog post, or forum thread that references "Woo Store Vacation", you are in the right place. No re-installation, no re-configuration, and no data migration is required.

= Will the plugin take my store offline? =

No. Store Vacation Lite for WooCommerce keeps your website and products available to browse. If you enable "Disable Purchase", customers can view the store but cannot complete checkout or place new orders during the vacation period.

= Will using the plugin hide my store from search engines? =

No. The plugin does not replace your store with a maintenance page or add no-index tags to your shop pages. Your storefront remains accessible while purchasing is paused.

= Is the plugin compatible with block themes and the Site Editor? =

Yes. You can add the Store Vacation Notice block to the Site Editor, template parts, or pages in block-based themes. The notice also appears automatically on WooCommerce shop and product pages.

= Does the plugin affect my site's speed? =

The plugin keeps its storefront work focused on vacation behavior and notice output. When vacation mode is not active, the store continues using its normal WooCommerce purchasing flow.

= Where can I find the plugin settings? =

Go to WooCommerce » Settings » Store Vacation in your WordPress dashboard.

= How do I set up vacation mode? =

1. Go to WooCommerce » Settings » Store Vacation.
2. Enable "Enable Vacation Mode".
3. Set the "Start Date".
4. Set the "End Date".
5. Optionally enable "Disable Purchase" to pause checkout and add-to-cart behavior.
6. Add your vacation notice.
7. Click "Save Changes".

= What does "Disable Purchase" do? =

"Disable Purchase" stops WooCommerce purchase functionality while vacation mode is active. It removes or disables cart, checkout, and add-to-cart behavior so customers cannot place new orders during the scheduled period.

= Can customers still browse my products? =

Yes. Your products stay visible while purchases are paused, so customers can browse the catalog and return when the store reopens.

= What happens to customers who wanted to buy something during my vacation? =

In the free version, purchasing is paused and the vacation notice is shown. Customers can return after the vacation ends and place their order normally.

Store Vacation Pro adds cart-building and saved-cart tools so shoppers can keep a cart during the closure, save a restore link, and come back to it when ordering resumes.

= Can I keep some products available during vacation mode? =

Yes. If "Disable Purchase" is enabled, use the Conditions section to keep selected products available for purchase.

You can exclude specific products, categories, tags, product types, and shipping classes from vacation mode. This works well when you want to keep digital downloads, gift cards, or selected pre-orders available while physical fulfilment is paused.

= Where does the vacation notice appear? =

The vacation notice appears on WooCommerce shop and product pages during your scheduled vacation period.

You can also place it manually with the Store Vacation Notice block, Elementor widget, or `[woo_store_vacation]` shortcode.

= Can I customize the vacation notice? =

Yes. You can write your own notice text, add a call-to-action button and URL, use the start and end date smart tags, and change the notice text and background colors.

= Which smart tags are available in the free version? =

The free version supports

* `{{start_date}}`
* `{{end_date}}`

Use them in the vacation notice to display the scheduled closure dates automatically.

Store Vacation Pro adds an expanded set of smart tags for reusable notice templates.

= Can shop managers manage vacation settings? =

Yes. Shop managers can access and manage the plugin settings, which makes it easier for store teams to update vacation dates and notices.

= Is the plugin compatible with multilingual websites? =

Yes. Store Vacation Lite for WooCommerce is translation-ready and includes configuration support for WPML and Polylang.

= Is Store Vacation Lite for WooCommerce compatible with HPOS? =

Yes. The plugin supports WooCommerce High-Performance Order Storage.

= What is the difference between the Lite and Pro versions? =

The Lite version covers one scheduled vacation with a customizable notice and basic product exceptions. It is enough for a straightforward one-off closure.

Store Vacation Pro adds unlimited and recurring schedules, Opening Hours, cart building, saved carts, vacation shipping controls, Checkout Protection, reporting, storefront behavior controls, advanced Conditions, admin status tools, import and export, a REST API, and WordPress Abilities API support.

If you close your shop regularly, want customers to keep their purchase intent during closures, need different shipping behavior while you are away, or want visibility into what happened during a closure, Pro pays for itself quickly.

= Does Store Vacation Lite for WooCommerce have a Pro version? =

Yes. Store Vacation Pro is available on WooCommerce.com. It adds advanced scheduling, recurring weekday closures, Opening Hours, saved carts, cart building while checkout is closed, vacation shipping, Checkout Protection, reporting, storefront behavior controls, admin reminders, vacation order tracking, import and export tools, REST API support, and WordPress Abilities API integration.

You can learn more here: [Store Vacation Pro](https://mypreview.one/store-vacation-for-woocommerce/ "Store Vacation Pro")

= How can I get help with the plugin? =

The easiest way to receive support is to visit the [Community Forums page](https://wordpress.org/support/plugin/woo-store-vacation "Store Vacation Lite for WooCommerce Support Forum") and create a new topic.

Make sure to check "Notify me of follow-up replies via email" so you receive updates when someone replies.

= Can I contribute to translating the plugin into a new language? =

Yes. Store Vacation Lite for WooCommerce is translation-ready and localized using the GNU framework. You can help translate it through the official WordPress translation platform.

[Translate Store Vacation Lite for WooCommerce](https://translate.wordpress.org/projects/wp-plugins/woo-store-vacation "WordPress translation website")

= What is your opinion about the concept behind this plugin? =

If you enjoy using Store Vacation Lite for WooCommerce, a [5-star rating](https://wordpress.org/support/plugin/woo-store-vacation/reviews/ "Rate Store Vacation Lite for WooCommerce 5 stars") would be greatly appreciated. Reviews help support continued plugin development and improvements.

== Screenshots ==

1. The plugin settings page.
2. Choosing vacation dates with the datepicker.
3. Setting Conditions to control product availability.
4. The vacation notice on the shop page.
5. The vacation notice on a single product page.
6. The vacation notice on shop archive pages.
7. Adding the Store Vacation Notice block in the editor.
8. Adding the vacation notice shortcode in the Classic Editor.
9. Adding the Store Vacation Notice Elementor widget to a page.

== Changelog ==
= 1.9.9 =

* Update - Compatibility with WP 7.1.
* Update - Compatibility with WC 11.1.

= 1.9.8.1 =
* Fixed: Incorrect documentation page URL.
* Compatibility: Tested with WooCommerce 10.9.

= 1.9.8 =
* Tweak: Renamed the plugin to Store Vacation Lite for WooCommerce.
* Tweak: Declared WooCommerce as a required plugin dependency.
* Tweak: Improved the release package contents.
* Compatibility: Raised the minimum supported WordPress version to 6.5.

= 1.9.7 =
* Compatibility: Tested with WordPress 7.0.
* Compatibility: Tested with WooCommerce 10.7.

= 1.9.6 =
* Compatibility: Tested with WooCommerce 9.9.

= 1.9.5 =
* Compatibility: Tested with WordPress 6.8.
* Compatibility: Tested with WooCommerce 9.8.

= 1.9.4 =
* Compatibility: Tested with WordPress 6.5.
* Compatibility: Tested with WooCommerce 8.7.

= 1.9.3 =
* Compatibility: Tested with WordPress 6.4.
* Compatibility: Tested with WooCommerce 8.3.

= 1.9.2 =
* Fix: Isolated the dependency injection container package to prevent possible PHP fatal errors when other third-party plugins use the same package.
* Compatibility: Tested with WordPress 6.3.
* Compatibility: Tested with WooCommerce 8.0.

= 1.9.1 =
* Fix: Allowed empty values to be saved for the text color and background color options.
* Fix: Hid the add-to-cart button on single variable product pages while purchases are disabled.
* Compatibility: Tested with WooCommerce 7.8.

= 1.9.0 =
* Added: Conditions support for excluding selected products, categories, tags, product types, and shipping classes from vacation mode.
* Refactor: Improved the internal code structure for better maintainability.

= 1.8.1 =
* Added: Support for the `{{start_date}}` and `{{end_date}}` smart tags in vacation notices.
* Added: Store Vacation Notice widget for Elementor.
* Compatibility: Tested with WordPress 6.2.1.
* Compatibility: Tested with WooCommerce 7.7.

= 1.8.0 =
* Added: Shop Manager role access to manage the plugin settings.
* Compatibility: Tested with WordPress 6.2.
* Compatibility: Tested with WooCommerce 7.6.

= 1.7.0 =
* Added: Support for displaying the vacation notice with the `[woo_store_vacation]` shortcode or editor block.
* Compatibility: Tested with WooCommerce 7.4.

= 1.6.4 =
* Added: `woo-store-vacation-shop-closed` body class when the shop is closed.

= 1.6.3 =
* Tweak: Improved HPOS compatibility for PHP 7.4.

= 1.6.2 =
* Added: Support for WooCommerce High-Performance Order Storage (HPOS).
* Compatibility: Tested with WooCommerce 7.3.

= 1.6.1 =
* Tweak: Improved admin notice display logic.

= 1.6.0 =
* Compatibility: Tested with WooCommerce 7.2.

= 1.5.1 =
* Tweak: Updated the plugin author URI.

= 1.5.0 =
* Fix: Improved date comparison logic to account for time values.
* Fix: Improved support for the site’s local timezone.
* Compatibility: Tested with WordPress 6.1.
* Compatibility: Tested with WooCommerce 7.1.

= 1.4.6 =
* Compatibility: Tested with WooCommerce 6.8.

= 1.4.5 =
* Compatibility: Tested with WordPress 6.0.
* Compatibility: Tested with WooCommerce 6.5.

= 1.4.4 =
* Compatibility: Tested with WordPress 5.9.
* Compatibility: Tested with WooCommerce 6.2.

= 1.4.3 =
* Compatibility: Tested with PHP 8.0.

= 1.4.2 =
* Compatibility: Tested with WordPress 5.8.
* Compatibility: Tested with WooCommerce 5.5.

= 1.4.1 =
* Compatibility: Tested with WordPress 5.7.
* Compatibility: Tested with WooCommerce 5.1.

= 1.4.0 =
* Tweak: Improved data sanitization and escaping.
* Tweak: Updated upsell notice markup and ID. Props to @nicomollet.
* Compatibility: Tested with WordPress 5.6.
* Compatibility: Tested with WooCommerce 4.8.

= 1.3.9 =
* Tweak: Removed the minimum date restriction from the datepicker.
* Fix: Prevented store-closing logic from running on admin interface pages.

= 1.3.8 =
* Fix: Improved code quality and WordPress coding standards compliance.
* Compatibility: Tested with WordPress 5.5.
* Compatibility: Tested with WooCommerce 4.4.

= 1.3.7 =
* Compatibility: Tested with WooCommerce 4.3.

= 1.3.6 =
* Compatibility: Tested with WordPress 5.4.

= 1.3.5 =
* Added: Language configuration file support for WPML and Polylang.
* Compatibility: Tested with WooCommerce 4.2.

= 1.3.4 =
* Compatibility: Tested with WordPress 5.4.
* Compatibility: Tested with WooCommerce 4.1.

= 1.3.3 =
* Fix: Improved code quality and WordPress coding standards compliance.
* Compatibility: Tested with WordPress 5.4.
* Compatibility: Tested with WooCommerce 4.0.1.

= 1.3.2 =
* Fix: Delayed the purchasable filter so it runs after other hooks, preventing third-party extensions from overriding vacation mode behavior.
* Compatibility: Tested with WooCommerce 3.9.2.

= 1.3.1 =
* Compatibility: Tested with WooCommerce 3.9.

= 1.3.0 =
* Fix: Resolved a fatal error when submitting vacation dates with a non-Latin calendar.
* Fix: Adjusted the vacation notice `z-index` value to prevent overlap with core notifications.
* Compatibility: Tested with WordPress 5.3.
* Compatibility: Tested with WooCommerce 3.8.

= 1.2.4 =
* Tweak: Minor improvements.

= 1.2.3 =
* Tweak: Updated WooCommerce hook names.

= 1.2.2 =
* Fix: Corrected a `strtotime` calculation issue.

= 1.2.1 =
* Fix: Corrected a `strtotime` calculation issue.
* Compatibility: Tested with WordPress 4.9.

= 1.2.0 =
* Added: Custom stylesheet for the datepicker.

= 1.1.0 =
* Added: Button text and button URL fields to the plugin settings.

= 1.0.4 =
* Added: Support for closing the shop immediately using the start date option.
* Added: Color picker controls for the vacation notice text and background colors.
* Compatibility: Tested with WooCommerce 3.0.

= 1.0.3 =
* Tweak: Updated WooCommerce hooks for shop and single product pages.

= 1.0.2 =
* Added: Plugin screenshots.

= 1.0.1 =
* Fix: Corrected a `strtotime` calculation issue.

= 1.0.0 =
* Initial release.
