﻿=== Wholesale for WooCommerce ===
Contributors: saadiqbal, wpexpertsio
Tags: wholesale, b2b, woocommerce wholesale, wholesale pricing, tiered pricing, role based pricing, bulk pricing, wholesale registration, b2b pricing, wholesale discounts, wholesale prices, wholesale store, b2b woocommerce
Requires at least: 5.6
Tested up to: 6.8.5
Requires PHP: 7.4
Stable tag: 2.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires Plugins: woocommerce

Add B2B wholesale pricing, tiered discounts, and role-based pricing to your WooCommerce store. Sell retail & wholesale from one website with registration forms and pricing controls.

== Description ==

🔍 [Live Demo](https://wpedemo.com/wholesale-product-for-woocommerce/) | 📄 [Documentation](https://wpexperts.io/docs/wholesale-for-woocommerce-lite/) | ⭐ [Get Pro](https://wpexperts.io/products/wholesale-for-woocommerce-pro/)

**Wholesale for WooCommerce** lets you run both retail and B2B wholesale from a single WooCommerce store. Add wholesale pricing to simple and variable products, manage wholesaler user roles via custom registration forms, and display tiered bulk pricing that rewards large orders.

= Key Features =

* **Wholesale Pricing** — Set fixed or percentage-based wholesale prices on any product and product variation. Wholesale prices are only visible to logged-in wholesaler-role customers.
* **Tiered Pricing** — Create quantity-based discount tiers. Encourage bulk orders with automatic price breaks as customers add more to their cart.
* **Wholesale Registration Form** — Customers submit a registration request to become a wholesaler. Auto-approve or manually review each request. Email notifications keep users informed at every step.
* **REST API** — Manage wholesale products, prices, and user roles programmatically. Integrate with external services and automate wholesale operations.
* **HPOS Compatible** — Optimized for WooCommerce High-Performance Order Storage. Faster order processing and improved database efficiency.
* **Hide Retail Prices** — Optionally hide retail prices from guest users or non-wholesale customers. Control exactly who sees what on your store.
* **Save Price Display** — Show customers how much they're saving with a discount amount displayed alongside the wholesale price.
* **Mobile Optimized** — Fully responsive. Wholesale pricing and registration work seamlessly on mobile devices.
* **Translation Ready** — .PO/.MO file support. Customize all frontend labels to match your language and brand.

= Feature List =

* Add fixed or percentage wholesale prices to products
* Add wholesale prices to product variations (simple & variable)
* Tiered pricing with quantity-based discounts
* Wholesale prices visible only to Wholesaler-role customers
* Display discount/save amount alongside product price
* Wholesale user registration form with auto/manual approval
* Email notifications for registration requests
* Hide retail prices from non-wholesale users
* REST API for managing wholesale products and user roles
* HPOS (High-Performance Order Storage) compatible
* Mobile responsive and translation ready

= Pro Version — Wholesale for WooCommerce Pro =

⭐ [Upgrade to Pro](https://wpexperts.io/products/wholesale-for-woocommerce-pro/) for advanced B2B features:

* **Multi-Role Pricing** — Create multiple wholesale user roles with unique pricing per role
* **Advanced Registration Form Builder** — Drag-and-drop builder, custom fields, shortcode embedding
* **Private Wholesale Store** — Hide products/prices from non-logged-in users, password protect, restrict categories
* **Advanced Tiered Pricing** — Global, category, and product-level tiered rules with pricing tables
* **Tax, Shipping & Payment Control** — Tax exemption, role-based payment/shipping methods, minimum order quantities
* **CSV Import/Export** — Bulk manage wholesale prices and products
* **Cart Total Discounts** — Set minimum cart thresholds for automatic discounts

== Installation ==

1. Go to Plugins > Add New in your WordPress admin.
2. Search for "Wholesale for WooCommerce".
3. Click Install Now, then Activate.
4. Configure wholesale pricing under WooCommerce > Wholesale Pricing.

= Requirements =

* WooCommerce 4.0+
* WordPress 5.6+
* PHP 7.4+

== Frequently Asked Questions ==

= Can I add wholesale prices to variable products? =

Yes. You can set wholesale prices on each product variation individually, or apply a global discount across all variations.

= How does the wholesale registration form work? =

Users submit a registration request from a dedicated form. You can auto-approve requests or manually review each one. Approved users receive the "Wholesaler" role and can see wholesale prices.

= Can I hide retail prices from guest users? =

Yes. Enable "Hide Retail Prices" in settings to make prices visible only to logged-in wholesaler-role customers.

= Is there a tiered pricing option in the free version? =

Yes. The free version includes basic tiered pricing with fixed or percentage discounts. The Pro version adds global, category-level, and product-level tiered rules with visual pricing tables.

= Does this work with the latest WordPress and WooCommerce? =

Yes. Tested up to WordPress 6.8.5 and WooCommerce 10+. Fully compatible with HPOS.

= Can I upgrade from free to Pro later? =

Yes. All your wholesale pricing data is preserved when upgrading. No data loss.

= Does the plugin support REST API? =

Yes. You can list, create, update, and delete wholesale products and pricing via the WordPress REST API.

= Is this plugin translation ready? =

Yes. Includes .PO/.MO files. You can translate all frontend labels, or use Loco Translate for in-WP translation.

== Screenshots ==

1. General Settings — Configure wholesale pricing globally, set discount type, and manage display options.
2. Wholesale Price Global Tab — Set fixed or percentage discounts across all products.
3. Label Settings — Customize frontend labels including save price, registration form text, and more.
4. Registration Settings — Configure the wholesale user registration form and approval workflow.
5. Wholesale User Requests — View and manage pending wholesaler registration requests.
6. Registration Notification — Email notification settings for new user registrations.
7. Registration Form Fields — Default and custom fields available in the wholesale registration form.

== Changelog ==

= 2.0.5 =
* Updated — Optimized readme.txt with improved SEO, tags, FAQ, and description structure

= 2.0.4 =
* Updated — Code Optimization

= 2.0.3 =
* Updated — Code Optimization

= 2.0.2 =
* Updated — WC Tested up to 10+
* Updated — WordPress Tested up to 6.8.2

= 2.0.1 =
* Fix — Plugin activation issue

= 2.0 =
* NEW — REST API
* NEW — Tier Pricing in Global Wholesale Pricing
* NEW — Order Notification Email
* NEW — Wholesale Registration on My Account Page
* NEW — Wholesale Registration Page redirect
* NEW — Hide Price Option
* NEW — Disable Auto Approval Wholesale User
* NEW — Wholesale User Add Requests
* NEW — Hide Retail Price and Save Price Labels
* NEW — Disabled Coupons for Wholesale User
* NEW — Upgrade Customer to Wholesale User
* NEW — Wholesale Pricing Global Option
* NEW — New User Registration Notification
* NEW — Wholesale Registration Form

[View full changelog](https://plugins.trac.wordpress.org/log/woo-wholesale-pricing/)

== Upgrade Notice ==

= 2.0.5 =
Readme and documentation update — no code changes. Safe to update from any 2.x version.

= 2.0.4 =
Minor code optimization update. Safe to update from any 2.x version.
