# Maintenance mode for WooCommerce

[![WordPress Plugin Version](https://img.shields.io/wordpress/plugin/v/maintenance-mode-for-woocommerce.svg)](https://wordpress.org/plugins/maintenance-mode-for-woocommerce/)
[![Active Installs](https://img.shields.io/wordpress/plugin/installs/maintenance-mode-for-woocommerce.svg)](https://wordpress.org/plugins/maintenance-mode-for-woocommerce/)
[![WordPress Tested](https://img.shields.io/wordpress/v/maintenance-mode-for-woocommerce.svg)](https://wordpress.org/plugins/maintenance-mode-for-woocommerce/)
[![PHP Version](https://img.shields.io/badge/PHP-%3E%3D%208.2-blue.svg)](https://www.php.net/)
[![License: GPL v2+](https://img.shields.io/badge/License-GPL%20v2%2B-blue.svg)](http://www.gnu.org/licenses/gpl-2.0.txt)

Put your WooCommerce shop into maintenance mode without affecting the rest of your website.

[View on WordPress.org Plugin Directory](https://wordpress.org/plugins/maintenance-mode-for-woocommerce/)

---

## Overview

Most maintenance mode plugins shut down your entire website. **Maintenance mode for WooCommerce** only locks down your store while keeping your homepage, blog, and standard content pages fully accessible.

* **Coming Soon Mode:** Announce an upcoming shop while visitors browse your existing website content.
* **Maintenance & Repair:** Fix pricing, product, or configuration errors in private without taking your whole site offline.
* **100% Free:** Completely free with no artificial feature gates or upsells.

---

## Features

* **Selective Shop Locking:** Protects Shop, Cart, Checkout, and single product pages.
* **Multilingual Ready:** Full built-in support for **Polylang** und **WPML** (automatically serves translated maintenance pages).
* **Loop Protection:** Built-in safeguard preventing `ERR_TOO_MANY_REDIRECTS`.
* **Role Whitelisting:** Users with administrator or shop manager permissions retain full shop access.
* **Admin Warning Notices:**
  * Admin bar notification indicator.
  * Prominent red warning banner in the frontend footer for administrators.
* **Flexible User Restrictions:** Option to block all visitors or only non-logged-in guests.

---

## Requirements

* WordPress 6.0 or higher
* WooCommerce 9.0 or higher
* PHP 8.2 or higher

---

## Installation

1. In your WordPress admin, go to **Plugins > Add New**.
2. Search for `Maintenance mode for WooCommerce`.
3. Click **Install Now** and activate the plugin.
4. Go to **WooCommerce > Maintenance mode** to configure your settings and select your custom maintenance page.

---

## Author

Developed and maintained by **netfett**.

* Website: [https://netfett.de](https://netfett.de)
* GitHub: [@NetFett](https://github.com/NetFett)
* WordPress.org: [netfett](https://profiles.wordpress.org/netfett/)

---

## License

This plugin is licensed under the [GNU General Public License v2.0 or later](http://www.gnu.org/licenses/gpl-2.0.txt).
