=== WooCommerce Private Store ===
Contributors: andykeith, barn2media
Tags: woocommerce, private, hidden, locked
Requires at least: 6.1
Tested up to: 6.7.1
Requires PHP: 7.4
Stable tag: 1.7.9
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Hide your entire WooCommerce store from the public and search engines.

== Description ==

The WooCommerce Private Store plugin lets you hide entire store from the public and search engines. The store can be
unlocked using a password.

Hides all products, categories, tags, attributes, and store pages (cart, checkout, account, etc) from the following locations:

 * Direct access via URL
 * Navigation menus
 * Widgets
 * Search results
 * XML Sitemaps

== Installation ==

1. Go to Plugins -> Add New -> Upload and select the plugin ZIP file (see link in Purchase Confirmation Email).
1. Activate the plugin
1. Enter your license key under WooCommerce -> Settings -> Products -> Private Store
1. Set your login page and enter a password

== Frequently Asked Questions ==

Please refer to [our support page](https://barn2.co.uk/our-wordpress-plugins/woocommerce-private-store-documentation-support/).

== Changelog ==

= 1.7.9 =
Release date 23 December 2024

  * Dev: Tested up to WP 6.7.1 and WooCommerce 9.5.1

<!--more-->

= 1.7.8 =
Release date 19 September 2024

  * Fix: WooCommerce Private Store integration compatibility.
  * Fix: Astra theme and Elementor Pro shop page compatibility support
  * Dev: Tested up to WP 6.6.2 and WooCommerce 9.3.2

= 1.7.7 =
Release date 09 July 2024

  * Tweak: Added support for WooCommerce 9.1.0 Coming Soon mode.
  * Tweak: Minor improvements to the setup wizard.
  * Fix: Some fields in the setup wizard were not being persisted or saved correctly.
  * Dev: Updated internal libraries.
  * Dev: Tested up to WP 6.5.5 and WooCommerce 9.1.0

= 1.7.6 =
Release date 30 May 2024

  * Tweak: Set a default password on plugin activation if none was found.
  * Fix: "Add to private store" checkbox not persisting metadata.
  * Dev: Updated internal libraries.
  * Dev: Tested up to WP 6.5.3 and WooCommerce 8.9.1

= 1.7.5 =
Release date 01 May 2024

 * Fix: Setup wizard not detecting or storing values properly in certain situations.
 * Dev: Updated internal libraries.
 * Dev: Tested up to WP 6.5.2 and WooCommerce 8.8.2

= 1.7.4 =
Release date 09 August 2023

 * Dev: enabled HPOS compatibility.
 * Dev: Updated internal libraries.
 * Dev: Tested up to WP 6.3 and WooCommerce 8.0

= 1.7.3 =
Release date 02 January 2023

  * Fix: conflict with the Yoast SEO plugin preventing access to the product edit page.

= 1.7.2 =
Release date 18 December 2022

  * Fix: undefined index when checking for cookies.
  * Fix: PHP 8 compatibility.
  * Tweak: erase Yoast SEO robots when page is protected.
  * Tweak: updated internal libraries.

= 1.7.1 =
Release date 07 September 2021

 * Tweak: php 7.2 compatibility

= 1.7.0 =
Release date 26 August 2021

 * New: ability to protect other pages.
 * New: added setup wizard.
 * New: WooCommerce Gutenberg blocks are hidden when the store is protected.
 * Updated barn2 library.
 * Tested up to WooCommerce 5.6.

= 1.6.5 =
Release date 20 July 2021

 * Updated barn2 library.
 * Tested up to WooCommerce 5.5 and WordPress 5.8.

= 1.6.4 =
Release date 26 May 2021

 * Added support for new navigation in WooCommerce Admin plugin.
 * Updated the theme and plugin integrations.
 * Tested up to WooCommerce 5.3 and WordPress 5.7.2.
 * Added extra hooks to allow developers easier integration with the plugin.

= 1.6.3 =
Release date 1 May 2020

 * Test: Compatibility with WooCommerce 4.1 and WordPress 5.4.1.
 * Dev: Added Composer support.

= 1.6.2 =
Release date 15 April 2020

 * Fix: The license key was deactivating accidentally on some websites.
 * Dev: Rename plugin helper function to wps().
 * Dev: Minor code improvements.

= 1.6.1 =
Release date 11 March 2020

 * Tested up to WooCommerce 4.0 and WordPress 5.4.

= 1.6 =
Release date 31 January 2020

 * New: store can be unlocked for specific user roles only, as well as for all logged in users.
 * New: added new Barn2 license system.

= 1.5.1 =
Release date 21 January 2020

 * Fully tested with WordPress 5.3.2 and WooCommerce 3.9.

= 1.5 =
Release date 19 December 2019

 * PHP 5.6 or greater now required!
 * Refactor codebase and update Barn2 library.
 * Tested with latest version of WordPress and WooCommerce.
 * Fix bug when plugin is activated and WooCommerce is not installed.
 * Minor updates to text and tooltips on settings page.

= 1.4.2 =
Release date 30 October 2019

 * Tested up to WordPress 5.3 and WooCommerce 3.8.
 * Update library code.

= 1.4.1 =
Release date 16 April 2019

 * Tested with WooCommerce 3.6.

= 1.4 =
Release date 10 April 2019

 * Remove account area and lost password page from protection when accessed directly. Account pages are still hidden in widgets and menus.
 * Test with latest versions of WordPress and WooCommerce.

= 1.3.8 =
Release date 21 November 2018

 * Fix: Storefront theme - hide Cart and My Account links in footer on mobiles.
 * Test with latest version of WooCommerce.

= 1.3.7 =
Release date 12 October 2018

 * Fix: Ensure all WooCommerce shortcodes are properly protected when store is locked.
 * Fix: Hide cart icon on mobiles when using Avada theme and store is locked.
 * Tweak: Minor improvements to settings page.

= 1.3.6 =
Release date 8 June 2018

 * New: Set 'no cache' constants and headers to prevent caching when the store is locked.
 * New: Added WPML config file.
 * Fix: The store is now automatically locked by default, even when there are no passwords set.
 * Tweak: Update license code and added license.txt.
 * Dev: General code restructuring and improvements.
 * Dev: Tested up to WP 4.9.6 and WC 3.4.2.

= 1.3.5 =
Release date 17 March 2018

 * Tested up to WooCommerce 3.3.3.
 * Fix: Hide cart in header in Storefront theme.
 * Tweak: Limit maximum password expiry time to a maximum of 9999 days.

= 1.3.4 =
Release date 22 January 2018

 * New: Plugin option to hide the password form for logged out users. When the 'Automatically unlock store for logged in users' option is ticked, you can now optionally hide the password entry form.
 * Tweak: Improve compatibility with Flatsome and Basel themes.
 * Tweak: Update license code.

= 1.3.3 =
Release date 18 October 2017

 * Tested with WooCommerce 3.2.1.

= 1.3.2 =
Release date 10 June 2017

 * Fix: Bug with missing PasswordHash class when logging into store.

= 1.3.1 =
Release date 18 May 2017

 * Fix: Bug in plugin settings when no password entered.
 * Tweak: Update for XStore theme.

= 1.3 =
Release date 10 May 2017

 * New: Support for multiple store passwords. You can now add additional passwords which can be used to unlock your private store.
 * Fix: Make sure error message is only displayed once on page.
 * Tweak: Move plugin settings to their own tab under WooCommerce > Settings.

= 1.2 =
Release date 10 April 2017

 * Fix: Improve compatibility with server-side caching systems, including WP Engine's EverCache.

= 1.1.1 =
Release date 24 March 2017

 * Fix: Edge case which results in a fatal PHP error when plugin is loaded before WordPress.

= 1.1 =
Release date 24 March 2017

 * New: Removed the Login Page option as the store is now automatically locked without requiring a separate page. You can still
use the [store_login] shortcode in any post, page or widget if required.
 * New: Added plugin option to unlock the store automatically if the user is logged into WordPress.
 * New: Added Password Expiry option to plugin settings to allow expiration of login cookie to be set.
 * New: Added extra plugin options for the password form - page title, password label, and placeholder option.
 * Fix: WordPress SEO sitemap cache now cleared correctly on install or activation/deactivation.

= 1.0.1 =
Release date 22 February 2017

 * Added Store Redirect option to allow customisation of the redirect page after login.

= 1.0 =
Release date 21 February 2017

* Initial release.