=== TimIntellects Trade Pricing Engine for WooCommerce ===
Contributors: timdeveloper
Tags: woocommerce wholesale, Trade Pricing Wholesale, tiered pricing, volume discount, hpos woocommerce
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Requires Plugins: woocommerce
WC requires at least: 8.0
WC tested up to: 9.0
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A lightweight B2B trade pricing solution for WooCommerce with role-based pricing, payment gateway controls, and HPOS compatibility.

== Description ==

TimIntellects Trade Pricing Engine for WooCommerce helps businesses manage wholesale and trade pricing within WooCommerce. It provides role-based pricing features, payment gateway restrictions, and flexible pricing rules while maintaining compatibility with WooCommerce High-Performance Order Storage (HPOS).

The plugin is suitable for wholesale stores, distributors, manufacturers, and businesses operating both B2B and B2C pricing models.

### Free Features

* Create dedicated **Wholesale Buyer** and **Distributor** user roles.
* Configure role-based payment gateways for wholesale customers.
* Apply global percentage discounts to wholesale customer roles.
* Prevent wholesale customers from combining trade discounts with retail coupons.
* Store pricing configuration using an optimized data structure.
* Compatible with WooCommerce High-Performance Order Storage (HPOS).

### Pro Features

* Tiered quantity pricing for individual products.
* Fixed price, fixed discount, and percentage discount pricing rules.
* Product-specific pricing tables.
* Automatic tax exemption support for eligible wholesale customers.
* Additional pricing and wholesale management features.

== Installation ==

1. Upload the plugin to the `/wp-content/plugins/` directory or install it through the WordPress Plugins screen.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Wholesale Buyer and Distributor roles will be created automatically.
4. Configure pricing and payment settings from **Trade Pricing** in the WordPress admin area.

== Frequently Asked Questions ==

= Is this plugin compatible with WooCommerce HPOS? =

Yes. The plugin is designed to work with WooCommerce High-Performance Order Storage (HPOS).

= Can I create wholesale user roles? =

Yes. The plugin automatically creates Wholesale Buyer and Distributor roles during activation.

= Can I restrict payment gateways for wholesale customers? =

Yes. Payment gateways can be assigned based on user roles.

= Does the plugin support quantity-based pricing? =

Yes. Tiered quantity pricing is available in the Pro version.

== Changelog ==

= 1.0.0 =

* Initial release.
* Added wholesale customer roles.
* Added role-based payment gateway restrictions.
* Added global wholesale discount settings.
* Added HPOS compatibility.
* Added tiered pricing engine.