=== Click to Chat & Order ===
Contributors: keralpatel
Donate link: https://www.bluesoftweb.com
Tags: whatsapp, chat, click to chat, contact button, whatsapp button
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add a floating WhatsApp chat button to your WordPress site so visitors can message you in one tap. No API, no monthly fees.

== Description ==

**Click to Chat & Order** adds a clean, fast WhatsApp chat button to your site. Visitors tap it, their WhatsApp opens with a pre-filled message ready for you. No WhatsApp Business API, no Meta verification, no monthly fees — just paste your number and go.

= Features =

* Floating button (bottom-left or bottom-right)
* Custom button label, colour and pre-filled greeting
* `[bswco_button]` shortcode for inline buttons anywhere
* Per-device control (mobile / desktop)
* Hide on specific pages by ID
* Configurable show-delay to prevent layout shift on slow connections
* Accessible: ARIA labels, keyboard focusable, reduced-motion aware
* No external requests, no tracking, no bloat — under 6 KB total

= How it works =

The plugin uses WhatsApp's standard `wa.me/` click-to-chat links. There is no API key, no account linking, no per-message cost. Works with the free WhatsApp or WhatsApp Business app on the merchant's phone.

= Pro version =

For multi-agent support, schedules, page-level display rules, WooCommerce "Order on WhatsApp" + Cart-to-WhatsApp, click analytics, additional themes and priority support, check out [Click to Chat & Order Pro](https://www.bluesoftweb.com/plugins/click-to-chat-order) by BlueSoftWeb.

= Privacy =

This plugin makes zero external requests and stores no visitor data. The only data saved is the settings you enter in the admin screen.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`, or install through **Plugins → Add New** and upload the .zip.
2. Activate.
3. Go to **Settings → Click to Chat** and paste your WhatsApp number in international format (digits only, no plus sign).
4. Save. The button appears site-wide.

== Frequently Asked Questions ==

= Do I need the WhatsApp Business API? =

No. The plugin uses standard click-to-chat links. The WhatsApp Business API is only required for automated outbound messages or chatbots, neither of which this plugin needs.

= What number format do I use? =

International format with country code, digits only, no leading plus. Example: `447900123456` for a UK number, `14155551234` for a US number.

= Will the button slow my site down? =

No. Total payload is under 6 KB, no external requests are made and the button is loaded with a configurable delay to avoid Cumulative Layout Shift on slow connections.

= Does it work with WooCommerce? =

The Free version adds a site-wide button only. The Pro version adds dedicated "Order on WhatsApp" buttons on product pages, variation-aware messages and a cart-to-WhatsApp checkout flow.

= Is my visitor data tracked? =

No. The Free plugin makes zero external requests and stores no visitor data.

== Screenshots ==

1. Floating WhatsApp button on a live site.
2. Settings page in WordPress admin.
3. Shortcode usage in the block editor.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
First release.
