=== narSolutions Estimate Calculator ===
Contributors: narsolutions
Tags: estimate, quote, calculator, price calculator, cost calculator
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.3.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Turn "how much will it cost?" into a lead — a branded instant estimate calculator.

== Description ==

**Your visitors ask "how much will it cost?" — and most of them leave without an answer.**

narSolutions turns that question into a lead. Build a short form with your own questions and prices, drop one shortcode on a page, and your visitors get an instant estimate while you receive their contact details.

= Who it is for =

* Cleaning companies
* Moving and relocation services
* Construction and renovation contractors
* Photographers and videographers
* Pest control and landscaping
* Any business that quotes per job

= What it does =

* **Build a form in minutes** – questions, answers and the price each answer adds
* **Live price preview** – the amount counts up as the visitor chooses
* **Your branding, not ours** – upload your logo, set your business name, pick two brand colours; the calculator takes on your look
* **Phone button and WhatsApp chat** – visitors who want a human can call or message you in one tap
* **Progress bar** – shows visitors how close they are to finishing, so fewer forms get abandoned
* **Lead capture** – name, email and phone stored in your dashboard and emailed to you
* **Three answer types** – dropdown, single choice, multiple choice
* **Base price** – a starting amount before any option is added
* **Email notification** – you get the request with the full breakdown
* **Spam protection** – a hidden honeypot field, no captcha needed for visitors
* **Mobile first** – looks right on phones, where most estimates are requested
* **Translate ready** – English source, Turkish included, any language via translation files

= Shortcode =

`[narsol_estimate]` shows your default form.

`[narsol_estimate id="12"]` shows a specific form.

= Privacy =

narSolutions does not send any data to third parties. Estimate requests are stored in your own WordPress database and emailed to the address you choose. Nothing leaves your site.

== Installation ==

1. Upload the `easy-estimate` folder to `/wp-content/plugins/`, or install it through the Plugins screen.
2. Activate the plugin.
3. Go to **narSolutions → Forms** and create your first form.
4. Add your questions and the price each answer adds.
5. Paste `[narsol_estimate id="YOUR_ID"]` into any page or post.

A sample form is created on activation so you can see the shortcode working straight away.

== Frequently Asked Questions ==

= Do I need to know how to code? =

No. Everything is set up from the WordPress dashboard with a shortcode.

= Can I have more than one form? =

Yes. Create as many forms as you like and use a different shortcode for each one.

= Where do the leads go? =

They are stored in **narSolutions → Estimates (leads)** and emailed to the address set on each form.

= Can I change the currency? =

Yes. Choose from USD, EUR, GBP, TRY, AUD, CAD, INR and BRL.

= Does it work with any theme? =

Yes. The form is plain HTML and CSS, so it inherits your theme's typography and works with any page builder that accepts shortcodes.

= Is it translated? =

English is the source language and a Turkish translation is included. Every string uses the standard WordPress translation functions, so it can be translated into any language.

= Do you collect any data? =

No. The plugin has no external calls and no tracking.

== Screenshots ==

1. The estimate form on the front end, with the price updating live as the visitor chooses.
2. The result your visitor sees, including the itemised price breakdown.
3. Building a form in the admin: questions, answers and the price each answer adds.
4. The lead list in your dashboard, with the estimated value of every request.
5. Appearance and branding: your logo, business name, brand colours, phone and WhatsApp button.

== Changelog ==

= 0.3.1 =
* Text domain updated to "narsolutions-estimate-calculator" so it matches the plugin slug assigned by the directory.
* Plugin folder and main file renamed to match the slug.
* Plugin URI and support links now point to the new slug.

= 0.3.0 =
* Renamed the plugin to "narSolutions Estimate Calculator" — the brand identifier now comes first so the name stands out clearly in the directory.
* Every function, class, constant, option, post type, meta key, hook and AJAX action now uses a six-character "narsol" prefix instead of the previous two-letter "ee" prefix, so there is no chance of a naming collision with another plugin.
* New shortcode: [narsol_estimate]. Shortcode attributes are unchanged.
* Added an uninstall routine: forms, estimates and settings are removed when the plugin is deleted.
* Fixed a class name that was printed without escaping in the form markup.

= 0.2.1 =
* Fix: on block themes the estimate could fail with a "Network error" message. The shortcode can render before scripts are registered, which dropped the AJAX configuration. The endpoint and security nonce now travel in the widget markup, and the assets are registered earlier.
* Improvement: instant client-side checks for the name and email fields, with translated messages.

= 0.2.0 =
* Branding and design settings: your own logo, business name and two brand colours.
* Attention badge and custom button text.
* Click-to-call phone button and WhatsApp chat button under the form.
* Animated live price counter and a progress bar that fills as questions are answered.
* Redesigned front end — gradient accents, selectable option cards, mobile-first layout.
* Accessibility: honours "prefers-reduced-motion" and improves keyboard focus.

= 0.1.0 =
* First release.
* Form builder with dropdown, single-choice and multiple-choice questions.
* Live price preview and instant estimate on submit.
* Lead storage and email notification.
* Honeypot spam protection.
* Turkish translation included.
