=== Tadrik Wholesale ===
Contributors: tadrik
Tags: woocommerce, wholesale, b2b, trade pricing, invoice
Requires at least: 6.5
Tested up to: 7.2
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Trade price lists, account approval, minimum orders and invoice terms for WooCommerce.

== Description ==

Tadrik Wholesale lets B2B and trade buyers register for a trade account, wait for store approval, and order at wholesale prices without separate spreadsheets or manual quotes.

**In this version**

* Dedicated `tadrik_wholesale_buyer` trade role with per-product wholesale prices and a global wholesale percentage discount fallback.
* Trade sign-up shortcode `[tadrik_wholesale_signup]` paired with an admin approval queue (pending, approved, rejected) and approval email notification.
* Wholesale minimum order subtotal and minimum item quantity checks enforced at cart and checkout.
* Clean WooCommerce -> Wholesale settings screen, HPOS compatibility, and clean uninstall of plugin options and roles.

**Free and Pro**

The core wholesale role, trade pricing, sign-up approval queue, and minimum order rules are free. Tadrik Wholesale Pro adds a Pay by Invoice payment gateway (Net 15/30/60 terms and PO number capture for approved buyers) and tiered custom wholesale role price lists.

== Installation ==

1. Make sure WooCommerce is installed and active.
2. Under Plugins > Add New, search for "Tadrik Wholesale", then install and activate it. Or upload the zip under Plugins > Add New > Upload Plugin.
3. Open WooCommerce > Wholesale to configure discounts, order minimums, and review trade applications.
4. Add `[tadrik_wholesale_signup]` to any page where trade buyers should apply.

== Frequently Asked Questions ==

= What happens if I delete it? =

Deleting the plugin removes its own options and custom wholesale roles. Your orders and products are left untouched.

== External services ==

This plugin doesn't connect to any outside service in the free build. Pro licensing uses Freemius when a Pro license is activated.

== Changelog ==

= 1.0.0 =
* First version.
