=== Wexofy Checkout for WooCommerce ===
Contributors: wexofy
Tags: checkout, one page checkout, checkout fields, vat number, woocommerce checkout
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 9.9
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A modern two-column layout for the classic WooCommerce checkout, with a sticky summary, editable quantities and a Personal / Business switch.

== Description ==

Wexofy Checkout restyles the classic WooCommerce checkout (the `[woocommerce_checkout]` shortcode) into a clean, modern one-page checkout — without removing or reordering a single WooCommerce hook, so payment gateways, shipping, invoicing and upsell plugins keep working.

**Layout**

* Two columns with a sticky order summary that follows the scroll.
* Product thumbnails in the summary.
* Change the quantity or remove an item right on the checkout — no trip back to the cart.
* Your accent colour, summary width and maximum width; a "force full width" switch for themes and page builders that squeeze the checkout.

**Fields**

* Floating labels.
* Validation while typing: required fields, e-mail format, phone length.
* E-mail and phone moved to the top.
* **Personal / Business switch** — "Business" reveals the company name, registration number and VAT number, validates them and saves them to the order under the meta keys your invoicing plugin expects. Existing company / VAT fields from other plugins are reused.

**Trust bar**

* A strip at the top of the form with a secure-checkout line, the icons of your active payment methods, a returns line, a support line and an optional shortcode (e.g. a reviews summary).

**Works with the Checkout block too**

If your Checkout page still contains the Checkout block, "Force the classic checkout" renders the classic shortcode instead. A status panel in the settings tells you which one you are using.

**Want more?**

[Wexofy Checkout Pro](https://wexofy.com/plugins/wx-checkout/) is a separate add-on that adds an estimated delivery date ("Get it by Thursday") with handling days, cut-off hour and holidays, a redesigned thank-you page with an order progress timeline, one-click cross-sells in the summary, six more styles with a live preview in the settings, and bundled display fonts. This free plugin is complete on its own and does not need it.

Wexofy is not affiliated with or endorsed by WooCommerce or Automattic.

== Installation ==

1. Install and activate the plugin (WooCommerce must be active).
2. Make sure your Checkout page contains the `[woocommerce_checkout]` shortcode (WooCommerce → Settings → Checkout design → Setup & help explains how), or turn on "Force the classic checkout".
3. Adjust the design under **WooCommerce → Settings → Checkout design**.

== Frequently Asked Questions ==

= Does it work with the block-based Checkout? =

It styles the classic shortcode checkout. With "Force the classic checkout" on, a leftover Checkout block is replaced at runtime.

= Will my payment gateway still work? =

Yes. The templates keep every WooCommerce hook, and the payment section is untouched.

= Where are the company and VAT numbers stored? =

In order meta (by default `_billing_company_code` and `_billing_vat`); you can change the keys to match your invoicing plugin. They also show in the Billing box on the order screen.

= I used the earlier all-in-one "Wexofy Checkout" plugin. Do I lose anything? =

No. Your settings are carried over and the old plugin is switched off. The delivery date, thank-you page and cross-sells are part of Wexofy Checkout Pro.

== Screenshots ==

1. The two-column checkout with the sticky summary.

== Changelog ==

= 1.0.1 =
* Fix: the shipping methods in the order summary now get a full-width line under the "Shipping" label instead of overflowing the summary card on narrow screens.
* Stylesheet and script URLs change whenever the files change, so browsers never keep an outdated copy after an update.

= 1.0.0 =
* First release on WordPress.org: two-column layout, sticky summary, quantity editing, floating labels, inline validation, Personal / Business switch with company and VAT fields, trust bar, classic-checkout enforcement.
