Feature: Added Wholesale Customers admin page (WooCommerce > Wholesale Customers) — lists all wholesale users with name, email, username, order count, and assignment date. Supports search, column sorting, and bulk removal of wholesale status.
Feature: Wholesale price is now displayed on single product pages for logged-in wholesale customers (simple and variable products).
Feature: Cart and checkout line items now show a “Wholesale” badge when a wholesale discount is applied.
Feature: A “Wholesale savings” row in cart and checkout totals displays the total amount saved on the order.
Feature: Wholesale savings notice added to order confirmation emails.
Feature: New setting — Apply discount to sale prices — choose whether the global discount stacks on top of a product’s sale price or applies to the regular price only.
Feature: New setting — Discount tax base — apply the global discount to the stored product price or the tax-exclusive price (for stores that enter prices inclusive of tax).
Feature: “Log in for wholesale pricing” notice on product pages for guests and non-wholesale customers. Text and link URL configurable in settings.
Feature: “No wholesale pricing available” fallback message for wholesale customers viewing products with no configured pricing.
Feature: Order flagging — wholesale orders are tagged at checkout for permanent identification. A “Wholesale Order” badge appears on the admin order edit screen.
Feature: My Account wholesale status panel — customers see a “Wholesale Account” section on their dashboard with their status and assignment date.
Feature: Product CSV import/export — wholesale_price column supported in WooCommerce’s built-in importer and exporter with automatic header mapping.
Feature: Quick Edit support — set or clear the wholesale price from the Products list inline Quick Edit panel.
Feature: Bulk Edit support — set or remove wholesale prices across multiple products from the Bulk Edit panel.
Feature: [wcs_wholesale_notice] shortcode — place the wholesale CTA notice anywhere on the site. Supports login_text, apply_text, active_text, and url attributes.
Feature: Hide retail price setting — show wholesale customers their discounted price only, without the regular price alongside it.
Feature: “You save” display on the product page — exact savings amount and percentage for simple products; maximum savings percentage for variable products.
Feature: Disable coupons for wholesale customers — prevents coupon codes from stacking on top of wholesale pricing.
Feature: Catalog / private store mode — hide prices and Add to Cart from guests only, or from all non-wholesale visitors.
Feature: Customisable wholesale price label — replace the default “Your wholesale price:” with any text.
Feature: “Wholesale” column added to the admin Users list with a dedicated “Wholesale Customers” filter view.
Feature: Wholesale customer filter added to the WooCommerce Orders screen (legacy and HPOS).
Feature: WooCommerce REST API extended — wholesale_customer boolean field on /wc/v3/customers supports read and write.
Feature: Wholesale Groups placeholder section added to settings with Pro upgrade links for each advanced feature.
Security: Added nonce verification and capability check to the product wholesale price save handler.
Security: All $_POST and $_REQUEST values are now properly sanitized before use.
Security: Admin output is escaped with esc_html() and esc_attr() throughout.
Enhancement: Added WooCommerce HPOS (High-Performance Order Storage) compatibility declaration.
Enhancement: Defined plugin constants (WCS_VERSION, WCS_PLUGIN_FILE, WCS_PLUGIN_DIR, WCS_PLUGIN_URL).
Enhancement: Added a Settings shortcut link on the Plugins list page.
Enhancement: Variable products display “See variations” in the wholesale price column instead of “N/A”.
Enhancement: Wholesale since date is recorded on first assignment and shown on the user profile page.
Enhancement: Settings page reorganised into Pricing, Order Restrictions, and Customer Notices sections.