=== SPP Global Product Catalog Mode Toggle for WooCommerce ===
Contributors: simpliplugin
Tags: catalog mode, woocommerce, product catalog, hide price, remove add to cart
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Instantly convert your WooCommerce store into a product catalog by removing prices, add-to-cart buttons, and purchase paths site-wide.

== Description ==

**SPP Global Product Catalog Mode Toggle for WooCommerce** lets you transform your WooCommerce storefront from a transactional online store into a high-visibility digital product gallery with a single toggle.

Whether you are building a product showcase, a portfolio, a wholesale catalog, or temporarily disabling purchases during maintenance, this plugin gives you full control without touching a line of code.

= Key Features =

* **One-Click Catalog Mode** — Enable or disable catalog mode globally with a single toggle.
* **Hide Prices** — Remove product prices from shop archives, category pages, and single product pages.
* **Hide Add to Cart** — Strip add-to-cart buttons from all product types (simple, variable, grouped, external).
* **Disable Cart & Checkout Pages** — Optionally redirect visitors away from cart and checkout pages to a URL of your choice.
* **Lightweight & Fast** — No bloated frameworks. Uses native WordPress and WooCommerce hooks for maximum compatibility and performance.
* **HPOS Compatible** — Fully compatible with WooCommerce High-Performance Order Storage.

= Use Cases =

* Product showcases and digital galleries
* Wholesale stores requiring quote-based purchasing
* Coming soon or pre-launch product displays
* Temporary purchase suspension during site maintenance
* Portfolio and lookbook presentations

= How It Works =

The plugin uses `remove_action` on core WooCommerce structural hooks like `woocommerce_after_shop_loop_item_title` (for prices) and `woocommerce_single_product_summary` (for purchase paths) to cleanly strip transactional components from your storefront layout.

== Installation ==

1. Upload the `spp-global-product-catalog-mode-toggle-for-woocommerce` folder to the `/wp-content/plugins/` directory, or install directly through the WordPress plugin screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Navigate to **WooCommerce → Catalog Mode** to configure your settings.
4. Enable catalog mode and select which elements to hide.

== Frequently Asked Questions ==

= Does this plugin require WooCommerce? =

Yes, WooCommerce must be installed and active. The plugin will display a notice if WooCommerce is not detected.

= Will this affect my admin/backend product management? =

No. All restrictions apply only to the public-facing storefront. You can still manage products, prices, and orders in the WordPress admin.

= Is it compatible with WooCommerce HPOS? =

Yes, the plugin declares full compatibility with WooCommerce High-Performance Order Storage (Custom Order Tables).

= What happens when I deactivate the plugin? =

Your store returns to its normal transactional state immediately. All WooCommerce hooks are restored automatically.

= Does the plugin remove data when uninstalled? =

Yes. When you delete the plugin through the WordPress admin, all plugin options are removed from the database.

== Screenshots ==

1. The Catalog Mode settings page under the WooCommerce menu.
2. A storefront with catalog mode enabled — prices and add-to-cart buttons removed.

== Changelog ==

= 1.0.0 =
* Initial release.
* Master toggle for catalog mode.
* Option to hide product prices site-wide.
* Option to hide add-to-cart buttons for all product types.
* Cart and checkout page redirect with custom URLs.
* HPOS compatibility declaration.

== Upgrade Notice ==

= 1.0.0 =
Initial release of SPP Global Product Catalog Mode Toggle for WooCommerce.
