=== Jacklabs One Step Checkout ===
Contributors: jacklabs, seowebsite0711
Tags: woocommerce, checkout, one step checkout, cart, ajax checkout
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Combine an editable WooCommerce cart and the classic checkout form on one streamlined page.

== Description ==

Jacklabs One Step Checkout provides a focused one-page checkout experience for WooCommerce using the classic shortcode checkout flow.

Features:

* Cart and checkout on the same page.
* AJAX quantity updates without replacing entered checkout fields.
* AJAX remove-item actions.
* AJAX apply/remove coupon actions.
* Two-column or stacked layouts.
* Left/right cart placement.
* Optional product images, editable quantities, automatic quantity updates, coupon field, and sticky cart.
* Shortcode: [jacklabs_one_step_checkout]
* Explicit setup tools to create a checkout page or set a selected page as the official WooCommerce Checkout page.
* HPOS compatible.
* No telemetry and no external service calls.

Important: This plugin uses WooCommerce's classic shortcode checkout. It intentionally declares incompatibility with the Cart and Checkout Blocks. For the widest payment-gateway compatibility, use the plugin's setup tool to make the shortcode page the official WooCommerce Checkout page.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install the ZIP through Plugins > Add New > Upload Plugin.
2. Activate WooCommerce and then Jacklabs One Step Checkout.
3. Go to WooCommerce > One Step Checkout.
4. Click "Create & use new One Step Checkout page", or select an existing page containing `[jacklabs_one_step_checkout]` and set it as the WooCommerce Checkout page.
5. Adjust layout and cart options as needed.

== Frequently Asked Questions ==

= Does it support WooCommerce Checkout Blocks? =

No. Version 1.0.0 is built around the classic WooCommerce checkout shortcode so it can preserve traditional checkout hooks and gateway integrations. The plugin declares this incompatibility to WooCommerce instead of presenting misleading compatibility information.

= Does it support HPOS? =

Yes. It does not query order posts directly and declares High-Performance Order Storage compatibility.

= Will AJAX cart updates erase checkout fields the customer has already typed? =

The plugin refreshes only its cart panel, then asks WooCommerce to refresh the order review. It does not replace the complete checkout form during cart edits.

= Can I use the shortcode on any page? =

Yes, but some payment gateway extensions only load their scripts when WordPress considers the page to be the official WooCommerce Checkout page. Using the setup tool is recommended.

== Changelog ==

= 1.0.0 =
* Initial release.
* Added one-page cart + classic checkout layout.
* Added AJAX cart quantity, remove item, and coupon actions.
* Added layout and cart display settings.
* Added explicit checkout-page setup tools.
* Added HPOS compatibility declaration.
* Added Checkout Blocks incompatibility declaration.
