=== Krishnadas Order Chat for WooCommerce ===

Contributors: krishnadas8119
Tags: Tags: chat button, woocommerce, order notification, click to chat, checkout button
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds a customizable chat button to the WooCommerce thank you page.

== Description ==

Krishnadas Order Chat for WooCommerce adds a customizable chat button to the WooCommerce thank you page after a successful order.

Customers can quickly send their order details through chat with a pre-filled message. 

The plugin works with WhatsApp click-to-chat links without requiring API integration.

The plugin includes a simple settings page where store owners can:

* Set store chat number
* Customize button text
* Create custom message templates
* Enable or disable the chat button
* Use dynamic order placeholders

== Features ==

* Chat button on WooCommerce thank you page
* Customizable chat message template
* Dynamic placeholders support
* Custom button text
* Enable or disable functionality
* Lightweight and easy to use
* Translation ready
* WordPress coding standards followed

== Available Placeholders ==

* {customer_name}
* {order_id}
* {order_total}

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to **WooCommerce → KD Order Chat**.
4. Configure your chat number and settings.
5. Save changes.

== Screenshots ==

1. Chat notification settings page
2. Chat button on WooCommerce thank you page
3. Pre-filled order details in chat window

== Frequently Asked Questions ==

= Does this plugin require WhatsApp Business API? =

No. The plugin uses WhatsApp click-to-chat links.

= Can I customize the chat message? =

Yes. You can fully customize the message template from plugin settings.

= Can I disable the chat button? =

Yes. The plugin includes an enable/disable option.

= Does it work with guest checkout? =

Yes. The plugin works with guest checkout and logged-in customers.

== Security ==

The plugin follows WordPress security best practices.

* Data sanitization
* Output escaping
* Direct access protection

== Changelog ==

= 1.0.0 =
* Initial release
* chat button integration
* Custom message templates
* Dynamic placeholders support
* Button enable/disable option