=== DigiQuote Pro ===
Contributors: digitolye
Tags: woocommerce, quote, request a quote, b2b, pricing
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Requires Plugins: woocommerce
Stable tag: 1.0.8
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Let customers request quotes, receive personal prices, and control whether guests can view prices or make purchases.

== Description ==

DigiQuote Pro adds a flexible quote workflow to WooCommerce while keeping the standard checkout available.

Customers can request a quote for the products in their cart. Store managers can set a percentage discount, fixed discount or custom final price for each quoted product and send a customer-specific quote by email. The secure quote link restores the quoted items with their personal prices while still allowing customers to remove quoted items or add regular products at normal store prices.

The plugin also includes optional B2B guest access controls. You can require customers to sign in before purchasing and optionally hide product prices from guests.

Key features:

* Request a Quote button alongside the normal WooCommerce checkout flow.
* Automatic customer request confirmation email.
* Automatic admin notification for new quote requests.
* Per-product percentage, fixed amount and custom final price discounts.
* Secure customer-specific quote links.
* Quoted products can be removed from the cart.
* Regular products can be added alongside quoted products.
* Quoted product quantities remain locked to the quoted quantity.
* Quote expiry and stock validation.
* Quote-to-order conversion tracking.
* Optional guest purchase restriction.
* Optional guest price hiding.
* Responsive login and registration popup for guests.
* WooCommerce currency and price formatting are used automatically.
* Multilingual storefront detection for WPML, Polylang, TranslatePress and WordPress locale.
* Separate editable customer-facing text and email subject fields for English, German, Turkish, Russian, French, Italian and Spanish.
* Translation-ready source strings and email templates using the digiquote-pro text domain.
* Plugin translations are delivered through the standard WordPress.org language pack system.
* WooCommerce HPOS compatibility declaration.

== Installation ==

1. Upload the DigiQuote Pro plugin from Plugins > Add New > Upload Plugin, or install it from WordPress.org.
2. Activate DigiQuote Pro.
3. Make sure WooCommerce is active.
4. Open WooCommerce > DigiQuote Pro to configure design, guest access, company details and localized texts.
5. If you use guest registration, enable customer account creation in WooCommerce > Settings > Accounts & Privacy.

== Frequently Asked Questions ==

= Does DigiQuote Pro replace the normal WooCommerce checkout? =

No. Customers can continue to checkout normally or request a quote from the cart.

= Does the quote change the normal WooCommerce product price? =

No. Personal quote prices are applied only to cart items restored through the secure quote link.

= Can customers add other products after opening a quote? =

Yes. Regular products can be added to the same cart and keep their normal WooCommerce prices.

= Does the plugin use the WooCommerce store currency? =

Yes. DigiQuote Pro uses the active WooCommerce currency and WooCommerce price formatting.

= Which languages are supported? =

The plugin includes language-ready support and editable localized customer text for English, German, Turkish, Russian, French, Italian and Spanish. Additional languages can be added through standard WordPress translation tools and the digitolye_dq_current_language filter.

= Is WooCommerce HPOS supported? =

Yes. DigiQuote Pro declares compatibility with WooCommerce High-Performance Order Storage.

== Changelog ==

= 1.0.8 =
* Improved WordPress.org translation delivery integration.
* Improved source readability and maintainability for frontend and admin assets.

= 1.0.7 =
* Improved multilingual compatibility and WordPress.org translation integration.
* Updated language package identifiers to match the official plugin directory slug.

= 1.0.6 =
* The cart is now cleared automatically after a successful quote request, and matching regular-price items are removed when a personal quote is restored to prevent duplicate product lines.

= 1.0.5 =
* Improved email template compatibility.
* Improved multilingual language detection.

= 1.0.4 =
* Improved upgrade migration compatibility for multilingual WordPress installations.
* Improved reliability when carrying existing quotes forward during updates.

= 1.0.3 =

* Improved internal identifiers to reduce conflicts with other themes and plugins.
* Added automatic migration for settings and quote records created by earlier 1.0.x releases.
* Preserved compatibility with existing secure quote links and active quoted carts during upgrades.
* Improved input handling, localization consistency and release packaging.

= 1.0.2 =

* Improved plugin description and release metadata.

= 1.0.1 =

* Added fallback rendering for custom cart templates that do not call the standard WooCommerce proceed-to-checkout hook.
* Added WooCommerce Cart Block and dynamically rendered checkout-button detection.
* Added duplicate protection so the quote button is rendered only once.

= 1.0.0 =

* Added customer quote requests with per-product personal pricing.
* Added secure quote links and quote-to-order conversion tracking.
* Added guest purchase restrictions and optional guest price hiding.
* Added multilingual customer texts and email templates for seven languages.
* Added WPML, Polylang and TranslatePress storefront language detection.
* Added WooCommerce HPOS support.

== Source Code ==

DigiQuote Pro ships its JavaScript and CSS in human-readable source form inside the assets directory. No build step is required to use or modify the distributed plugin code.

Translations are distributed through the standard WordPress.org language pack system.

== Upgrade Notice ==

= 1.0.8 =
Improves WordPress.org translation delivery integration and source-code maintainability.
