=== B2B Simplified for WooCommerce ===
Contributors: b2bsimplified
Donate link: https://b2b-simplified.fly.dev
Tags: b2b, wholesale, quick order, net terms, draft orders
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

High-velocity wholesale quick order matrix, bulk CSV parser, Net payment terms, and draft order invoicing engine for WooCommerce.

== Description ==

**B2B Simplified for WooCommerce** transforms standard WooCommerce stores into powerful, high-velocity wholesale ordering portals without requiring bloated enterprise suites.

### Key Capabilities

* **Wholesale Quick Order Matrix**: Instant, single-page bulk SKU table where trade buyers or internal sales reps can search products, select variants, enter quantities, and add all items to cart in 1 click.
* **Bulk CSV & Multi-SKU Paste**: Copy columns of `SKU, Quantity` directly from Excel or Google Sheets to instantly populate wholesale orders.
* **Net Payment Terms**: Support for Net 15, Net 30, Net 60, and Net 90 payment terms with deterministic draft invoice generation.
* **Wholesale Customer Role (`b2b_wholesale`)**: Built-in wholesale customer tier with per-customer percentage discounts and tax exemptions.
* **1-Click Invoice Checkout Links**: Generates official WooCommerce draft orders with payment links sent straight to the buyer.
* **Zero Theme Code Injection**: Clean, lightweight architecture compatible with any WooCommerce theme and fully compatible with High-Performance Order Storage (HPOS).

== Installation ==

1. Upload the `b2b-simplified-woo` folder to your `/wp-content/plugins/` directory, or upload the `.zip` via **Plugins > Add New > Upload Plugin**.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to **WooCommerce > B2B Quick Order** in your WordPress Admin to access the wholesale matrix.
4. Add the `[b2b_quick_order]` shortcode to any WordPress page (e.g. `/quick-order` or `/wholesale`) to provide trade customers with a self-service quick ordering form.

== Frequently Asked Questions ==

= Does this require a paid extension or enterprise WooCommerce license? =
No. B2B Simplified works directly on standard, open-source WooCommerce with zero third-party dependencies.

= Is High-Performance Order Storage (HPOS) supported? =
Yes. B2B Simplified declares full compatibility with WooCommerce HPOS custom order tables.

= How do I embed the quick order form on my storefront? =
Simply paste the shortcode `[b2b_quick_order]` into any page using the WordPress Block Editor or Classic Editor.

== Changelog ==

= 1.0.0 =
* Initial release of B2B Simplified for WooCommerce.
* Bulk SKU quick order matrix.
* Bulk CSV/paste importer.
* Net 15/30/60 payment terms & draft order invoicing.
* Storefront `[b2b_quick_order]` shortcode.
