=== DevNajmus OneClick Order Popup – for WooCommerce ===
Contributors: devnajmus
Donate link: https://github.com/devnajmus/
Tags: one click order, quick checkout, popup checkout,order popup,direct buy
Requires at least: 5.5
Tested up to: 6.9
Stable tag: 1.1.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Fast WooCommerce checkout through AJAX-powered popup with variable product support and direct ordering.

== Description ==

DevNajmus OneClick Order Popup adds a popup checkout system to your WooCommerce store, allowing customers to complete purchases without navigating through multiple pages.

The plugin adds a customizable Buy Now button on product pages that opens a popup containing all necessary checkout fields including shipping, billing, and payment options.

= Core Features =

* Quick Order button for product pages and shop loops
* AJAX-powered popup checkout with no page reloads
* Full support for variable products with attribute selection
* Multiple product ordering before checkout
* Shipping and billing fields in popup
* Payment gateway integration
* Mobile responsive design
* Compatible with WooCommerce themes

= How It Works =

Customers click the Buy Now button, a popup opens with product details and checkout fields, they complete their information and payment selection, then submit the order directly from the popup.

= Technical Details =

* AJAX cart operations
* WooCommerce hooks integration
* Lightweight codebase
* Translation ready
* PHP 7.4+ compatible
* WordPress 5.5 to 6.9 compatible

= Use Cases =

Suitable for online stores selling fashion, electronics, digital products, or any WooCommerce store looking to streamline their checkout process.

== Installation ==

= Automatic Installation =

1. Go to Plugins > Add New
2. Search for "DevNajmus OneClick Order Popup"
3. Click Install Now and then Activate

= Manual Installation =

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin through the Plugins menu
3. Ensure WooCommerce is installed and active

= Button Implementation =

Add the Quick Order button using:

`<button class="DOPW-quick-order-btn" data-product-id="123" data-product-type="simple">Buy Now</button>`

For theme integration:

`echo '<button class="DOPW-quick-order-btn" data-product-id="' . get_the_ID() . '" data-product-type="' . $product->get_type() . '">Quick Order</button>';`

== Frequently Asked Questions ==

= Is WooCommerce required? =

Yes, this plugin requires WooCommerce to be installed and active.

= Does it support variable products? =

Yes, the popup includes variation selection with attribute dropdowns and validation.

= Can customers order multiple products at once? =

Yes, customers can add multiple items to the popup cart before completing checkout.

= Is the popup mobile-friendly? =

Yes, the popup is fully responsive and works on all devices.

= How do I add the Buy Now button? =

Use the CSS class `DOPW-quick-order-btn` with `data-product-id` and `data-product-type` attributes on any button element.

= What payment gateways are supported? =

The plugin works with all standard WooCommerce payment gateways installed on your site.

= Does it skip the cart page? =

Yes, this provides direct checkout functionality that bypasses the traditional cart page.

= Where can I get support? =

For support and bug reports, visit the GitHub repository: https://github.com/devnajmus/devnajmus-oneclick-order-popup

== Screenshots ==

1. Quick Order button on product page
2. Buy Now button on shop loop
3. Popup checkout with all fields
4. Variable product selection in popup
5. Multiple products before checkout
6. Mobile responsive view
7. Order confirmation message

== Changelog ==

= 1.1.0 =
* Added enhanced payment gateway support
* Fixed AJAX checkout validation issues
* Improved WooCommerce 8.x compatibility
* Enhanced mobile UI/UX
* Optimized popup loading performance
* Code refactoring for better performance

= 1.0.0 =
* Initial release
* Quick order popup functionality
* Simple and variable product support
* Multiple product selection
* AJAX checkout
* Shipping and payment integration

== Upgrade Notice ==

= 1.1.0 =
Update includes improved performance, better payment gateway support, and enhanced WooCommerce 8.x compatibility.

== Additional Information ==

**Support & Documentation**
GitHub: https://github.com/devnajmus/devnajmus-oneclick-order-popup

**Developer Information**
The plugin follows WordPress coding standards and provides hooks for customization.

**Privacy**
This plugin does not collect or transmit any user data externally. All data is processed within your WooCommerce installation.