=== Websorcery Request Price ===
Contributors: Websorcery
Tags: woocommerce, price, request, quote, lead
Requires at least: 6.0
Tested up to: 7.1
Stable tag: 2.2.4
Requires PHP: 7.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Replaces "Add to Cart" with "Request Price" button for lead generation.

== Description ==

This plugin automatically hides the "Add to Cart" button for WooCommerce products that have no price set (or empty price). Instead, it displays a customizable "Request Price" button that opens a lead capture modal.

**Features:**
*   Automatic detection of checking empty prices.
*   Lead capture form (Name, Phone).
*   Email requests submitted to the configured WordPress mail transport; successful submission does not guarantee delivery.
*   Customizable design via settings.
*   Privacy policy checkbox when a WordPress privacy policy is configured.
*   Localization support (i18n).

== Installation ==

1. Upload the `websorcery-request-price` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Configure settings in WooCommerce > Request Price.

== Changelog ==

= 2.2.4 =
* Show the request button on product pages whose theme omits the standard WooCommerce summary hook.

= 2.2.3 =
* Fixed request submission, privacy consent, admin color picker and product modal.
* Validate fields and product IDs, handle mail failures, and limit repeat requests.

= 2.2.1 =
*   Added Russian translation.
*   Fixed localization support.

= 2.2.0 =
*   Added Internationalization support (i18n).
*   Fixed directory structure (removed nested folders).

= 2.1.0 =
*   Refactored to Websorcery Standards.

*   Namespace update.

== Upgrade Notice ==

= 2.2.4 =
The request button now appears with custom product templates that omit WooCommerce's summary hook.

= 2.2.3 =
Request validation and mail failure handling improved. Configure and test your mail transport.

= 2.2.1 =
Added Russian translation and fixed localization.

= 2.2.0 =
Major update: Full localization support added. You can now translate the plugin into your language. Fixed directory structure for better compatibility.
