=== Taalhaa Express Checkout for WooCommerce ===
Contributors: taalhaa, ABDUL_KARIM911
Tags: woocommerce, direct checkout, cod, buy now button, fast checkout
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 9.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Boost WooCommerce conversions with a 1-click Buy Now button and a simplified 3-field express checkout modal optimized for Cash on Delivery.

== Description ==

Standard WooCommerce checkout flows often require multiple steps and numerous form fields, which can lead to friction when customers want to make a quick purchase.

**Taalhaa Express Checkout for WooCommerce** streamlines the ordering experience by introducing a lightweight, slide-in checkout modal directly on single product pages.

With just 3 essential fields (Full Name, Mobile Number, and Delivery Address), customers can place an order quickly and effortlessly.

### 🚀 Key Features (Version 1.0.0)

*   **1-Click "Buy Now" Button:** Automatically placed next to the single product Add to Cart button.
*   **Slide-In Checkout Modal:** A clean, mobile-responsive popup window that opens without reloading the page.
*   **Simplified 3-Field Form:** Requests only Name, Phone, and Delivery Address.
*   **Instant AJAX Order Processing:** Creates WooCommerce orders in the background and redirects to the Order Received page.
*   **Native COD Integration:** Assigns Cash on Delivery as the default payment method for express orders.
*   **Ultra-Lightweight & Zero Bloat:** Built with 100% Vanilla JavaScript. No jQuery or heavy frameworks required.
*   **HPOS Compatible:** Fully compatible with WooCommerce High-Performance Order Storage (Custom Order Tables).
*   **Accessibility Ready:** Supports keyboard navigation (Escape key to dismiss) and standard ARIA attributes.

### 💡 Clean & Zero-Configuration Design

Taalhaa Express Checkout is designed to work immediately upon activation. It requires no complex configuration, enabling the express checkout flow seamlessly.

### 🌍 Built for Cash on Delivery Stores

Ideal for e-commerce stores offering Cash on Delivery (COD), allowing buyers to complete purchases with essential contact and delivery details.

== Installation ==

Installing Taalhaa Express Checkout is simple:

1. Go to your WordPress Dashboard.
2. Navigate to **Plugins > Add New Plugin**.
3. Click on **Upload Plugin** and select the `taalhaa-express-checkout.zip` file.
4. Click **Install Now** and then **Activate**.
5. Visit any single product page on your store to see the "Buy Now" button in action.

== Frequently Asked Questions ==

= Does it support WooCommerce High-Performance Order Storage (HPOS)? =
Yes! Taalhaa Express Checkout is 100% compatible with HPOS (Custom Order Tables).

= Will it slow down my website? =
No. The plugin is built with pure Vanilla JavaScript and minimal CSS. Assets are loaded only on single product pages.

= How do I change the color of the "Buy Now" button? =
The button uses a modern neutral theme by default. You can customize the appearance by adding CSS to your theme:
`.taalhaa-fec-buy-now-btn { background-color: #0073aa !important; }`

= What payment method is used for these express orders? =
The plugin processes express orders using Cash on Delivery (COD), allowing customers to complete orders quickly without upfront payment gateway steps.

== Screenshots ==

1. The "Buy Now" button displayed on the single product page.
2. The mobile-friendly express checkout modal with essential fields.
3. The redirection to the WooCommerce Order Received page.

== Changelog ==

= 1.0.0 =
* Initial release.
* Added "Buy Now" button to single product pages.
* Introduced Vanilla JS powered slide-in modal.
* Implemented secure AJAX order processing via `wc_create_order()`.
* Fully compatible with WooCommerce HPOS.
