=== OnePageCheckout for WooCommerce — One-Page Checkout ===
Contributors: trafficflow
Tags: woocommerce, checkout, one page checkout, conversion, thank you page
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.4
WC requires at least: 9.4
WC tested up to: 10.9
Stable tag: 2.9.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A one-page WooCommerce checkout your customers finish. Works with your existing payment methods, shipping and taxes. Deactivate anytime to restore the standard checkout.

== Description ==

OnePageCheckout replaces the multi-step WooCommerce checkout with a single fast page: contact, delivery, shipping and payment together, with no page reloads. Your store keeps running exactly as before: payment gateways, taxes, shipping rates, coupons and integrations are untouched.

= Free features =

* **One-page checkout.** Contact, delivery, shipping and payment on one screen. Totals update instantly as customers choose.
* **A better order confirmation.** A clean, reassuring order-received page. Payment instructions, tracking scripts and other plugins keep working on it.
* **Clear shipping and payment choices.** Each method is an easy-to-tap card next to a live order summary. On phones, the summary folds into a compact panel.
* **Login without leaving the page.** Returning customers sign in right on the checkout; guest checkout and optional account creation stay available.
* **Your branding, no code.** Set a logo, accent color and button shape in the settings. The defaults look good out of the box.
* **Trust content.** Show up to 3 short points in the header, 2 next to the order total and 2 under the pay button in the free version.
* **Express checkout row.** Show express payment buttons (e.g. Apple Pay or Google Pay) above the form when your payment gateway provides them.
* **Optional extras.** A coupon field, a marketing opt-in checkbox, an editable cart in the order summary, a skip-the-cart-page redirect and a back-to-shop arrow.
* **Works with your theme** and with WPML and Polylang.
* Translated into 20+ languages.

= Pro features =

Upgrade at [onepagecheckout.pro](https://onepagecheckout.pro) to add:

* **Address autocomplete.** A few keystrokes fill the street, city and postcode. Use our hosted service with no API key to set up, or your own Google Places key.
* A one-click **order bump** offer at checkout.
* **Design presets and layout controls.** Corners, density, summary position and custom CSS.
* **Unlimited header, summary and trust points** with custom icons.
* **Plugin updates and priority support.**

= Buy once, keep it =

An expired license never switches off the Pro features already live on your store. Activate a license once and your checkout keeps working; renewals cover updates, support and our hosted services.

== Frequently Asked Questions ==

= Will it break my payment gateways? =
No. The plugin keeps the standard WooCommerce payment area and checkout events, so Stripe, PayPal, cash on delivery, bank transfer and others behave exactly as before.

= What happens when I deactivate it? =
The standard WooCommerce checkout returns immediately. There is no data migration and nothing is left in your database.

= Does it work with my theme? =
Yes. The checkout loads on its own focused page and is tested with Storefront, Astra, Kadence, GeneratePress, Blocksy and block themes.

= Is it translation-ready? =
Yes. It works with WPML and Polylang and ships with its own translations for the checkout.

= Does it work with the classic and the new block checkout? =
Both. On a classic (shortcode) checkout page it renders the one-page design directly; on a block checkout page it runs the same design on the WooCommerce Store API (Block Mode, WooCommerce 9.8+). It picks the right one automatically. On older WooCommerce below 9.8 the native block checkout is left untouched and a one-click switch to the classic checkout is offered.

= Which versions are supported? =
WordPress 6.7–7.0 and WooCommerce 9.4–10.9, on PHP 7.4+, verified against both the classic and block checkout. We support a rolling ~12-month window and re-verify every release. The current state is shown under Tools → Site Health → Info → OnePageCheckout (and WooCommerce → Status).

== Changelog ==

= 2.9.0 =
* Fixed: the settings live preview updates again when switching toggles.
* The Enhanced checkout toggle is now marked as the master switch in the settings.
* New: Skip the cart page (optional) — carts with items go straight to the one-page checkout; empty carts keep the cart page. A settings hint warns when no cart-editing surface remains.

= 2.8.2 =
* New wopc_blocks_preload_cart filter for page-cached Block Mode shells (used by the onepagecheckout.pro live demo).

= 2.8.1 =
* Licensing and update services now point at the production onepagecheckout.pro endpoint.

= 2.8.0 =
* Express checkout row is now a free feature (off by default; needs a gateway that provides express buttons). Settings: express toggle moved to the Checkout tab, gift note to Fields.
* Fixed: saving one settings tab no longer resets the values of the other tabs.

= 2.7.0 =
* Custom / third-party checkout fields (added via WooCommerce's checkout hooks or field-editor plugins) now inherit the OnePageCheckout field styling instead of showing as unstyled native inputs. Classic checkout.

= 2.6.1 =
* Fix: the terms & conditions, newsletter and create-account checkboxes could render hollow, muted and slightly misaligned under some opinionated themes (they strip the native checkbox styling). The checkout now restores a crisp, aligned native checkbox regardless of theme.

= 2.6.0 =
* Pro sites receive plugin updates from the OnePageCheckout licensing server (license-gated, signed download). The free version continues to update from wordpress.org.

= 2.5.0 =
* Verified compatibility with the latest WordPress 7.0 and WooCommerce 10.9, and down to WooCommerce 9.4, on both the classic and block checkout (real orders placed on every combination).
* New: OnePageCheckout section in Site Health / WooCommerce Status showing the active checkout engine and version compatibility at a glance.
* Declared version support updated from evidence (WordPress 6.7+, WooCommerce 9.4+).

= 2.4.0 =
* Block Mode: native support for the WooCommerce block checkout — the same one-page design, running on the Store API. Works with block-integrated gateways (native components incl. saved tokens) and classic-only gateways alike. Free and Pro. Requires WooCommerce 9.8+ on block pages.

= 2.3.1 =
* Fix: takeover detection during checkout AJAX (theme integrations saw the takeover as inactive in refreshed fragments); notice buttons pinned to design colors.

= 2.3.0 =
* One-click switch when the checkout page uses the WooCommerce checkout block (with backup + restore).
* Compatibility: native review-order hooks in the summary, EU-VAT fields surfaced, theme-bleed CSS hardening, block-theme support polish.
* Security: hosted address autocomplete no longer exposes the license key; tighter takeover scope.
* All 21 translations completed and repaired; clearer admin and checkout wording.

= 2.2.0 =
* Editable cart in the order summary — change quantities and remove items without leaving checkout (opt-in).
* Optional back-to-shop arrow in the header.

= 2.1.0 =
* Live checkout preview in the settings screen — see your design and content changes instantly.

= 2.0.0 =
* Free/Pro editions, professional tabbed settings, license manager.
* Address autocomplete (hosted or own key), order bumps, express slot, design presets & custom CSS (Pro).
* 20+ translations.

= 1.0.0 =
* Initial release.
