=== Quote Request ===
Contributors: snehalpancholi
Tags: quote, request a quote, contact form, project estimate, lead generation
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Structured quote request form with status tracking. Let customers request project quotes via shortcode.

== Description ==

**Quote Request** gives your website a professional, conversion-optimised quote request form that you can place anywhere using a simple shortcode. Every submission is stored in your WordPress database so you can track and manage requests right from your admin panel — no third-party services or monthly fees required.

= Key Features =

* **Simple shortcode** — Add `[quote_request]` to any page or post.
* **Structured fields** — Name, Email, Phone, Company, Service, Budget Range, Timeline, and Project Details.
* **Configurable service list** — Define your own services in Settings, one per line.
* **Spam protection** — Built-in honeypot field silently discards bot submissions.
* **Email notifications** — Admin receives a formatted HTML email for every new request with a Reply-To set to the visitor's address.
* **Status tracking** — Quotes move through New → In Review → Quoted → Closed.
* **Admin quote list** — Filter by status, expand rows to see full details, update status inline via AJAX, delete with confirmation.
* **Badge counter** — The Tools menu shows a count of unread (New) requests.
* **Fully responsive** — Mobile-first CSS with dark mode support.
* **No jQuery** — Vanilla JavaScript using the Fetch API.
* **Automatic updates** — Connects to the AddonLogic update server so you always have the latest version.

= Usage =

1. Go to **Settings → Quote Request** and configure your admin email, service list, button text, and success message.
2. Add `[quote_request]` to any page or post.
3. View and manage submissions at **Tools → Quote Requests**.

== Installation ==

1. Upload the `quote-request` folder to `/wp-content/plugins/`.
2. Activate the plugin in **Plugins → Installed Plugins**.
3. Visit **Settings → Quote Request** to configure your service list and notification email.
4. Add `[quote_request]` to any page, post, or widget area to display the form.

== Frequently Asked Questions ==

= Where are quote requests stored? =

All quote requests are stored in a custom table `{prefix}qrf_quotes` in your WordPress database. Nothing is sent to external servers.

= Can I customise the services in the dropdown? =

Yes. Go to **Settings → Quote Request** and edit the Service List field. Each line becomes one option in the dropdown.

= Does it protect against spam? =

Yes. The form uses a honeypot hidden field to silently reject bot submissions without showing a CAPTCHA to real users.

= Can I reply to a quote request directly from my email client? =

Yes. Notification emails include a `Reply-To` header set to the visitor's email address, so you can reply directly.

= Will quote data be deleted if I uninstall the plugin? =

Yes. Uninstalling the plugin (via **Plugins → Delete**) removes the `addlc_qrf_options` database option and drops the `{prefix}qrf_quotes` table.

= Does it work with page builders? =

Yes. The `[quote_request]` shortcode works anywhere shortcodes are supported — Gutenberg (Shortcode block), Elementor, Beaver Builder, Divi, and standard pages/posts.

== Screenshots ==

1. Front-end quote request form.
2. Admin — Quote Requests list with status badges.
3. Admin — Expanded detail row with inline status update.
4. Settings page with service list configuration.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release of Quote Request.
