Oakhammer B2B lets one WooCommerce store sell to retail and trade customers at the same time. Retail shoppers see your normal prices, and so do guests unless you turn on the optional "Hide prices from guests" setting. Customers with the Wholesale role see their wholesale price everywhere: product pages, the classic and block cart and checkout, the mini-cart, the Store API and order emails. Prices are always worked out on the server, so every place shows the same number.
Free features
- Wholesale customer role. Give a customer the "Wholesale customer" role on their user profile.
- Wholesale price per product or variation. A fixed price, or a percentage off the regular price. Variations without a rule use the product's rule.
- Optional: hide prices from guests. Off by default. Turn it on under WooCommerce → Settings → B2B and visitors who aren't logged in see a message you choose (default "Log in to see prices") instead of prices and can't add to cart (also in the Store API and product structured data).
- Wholesale minimum order. Wholesale customers can't check out below a cart subtotal you choose (classic and block checkout).
- Cost display. Every product shows its cost and where it came from, e.g. "Cost $182.40 · from BOM Pricing".
- Help & feedback. Docs links and a form to report a bug, suggest a feature or ask a question, from the Plugins screen.
- WP-CLI.
wp ohb2b price <id> --user=<customer>, wp ohb2b cost <id>, wp ohb2b set-rule, wp ohb2b set-cost.
- Compatible with High-Performance Order Storage (HPOS) and the Cart and Checkout blocks. Translation ready.
Pro and Business add-on
Pro adds unlimited B2B roles (dealer, distributor, …); cost-based pricing (cost + markup % or cost + a fixed amount) set at store, role, category, product or variation level; a margin floor per role, so a price never drops below cost × (1 + floor); quantity breaks per role; a dealer application form with approve/reject and emails; and tax-exempt customers with a tax ID.
Business adds quotes: customers click "Request a quote" in the cart or on a product page, you build the quote with cost, price, margin % and margin $ on every line (with a warning when a line is under the margin floor), send it by email with a PDF, and the customer accepts online to create an order at the quoted prices. Quotes expire on the date you set. Business also adds a
Net terms payment method (Net 15 / 30 / 60) with a per-customer allowance.
Works with Oakhammer BOM Pricing
B2B works on its own. If Oakhammer BOM Pricing is also active, cost-based prices use BOM Pricing's rolled-up kit costs, and when a component cost changes, every affected wholesale price follows automatically. Without BOM Pricing, costs come from WooCommerce's cost of goods (when enabled) or the B2B cost field.
Where costs come from
In this order: other plugins through the
oakhammer_product_cost filter; Oakhammer BOM Pricing when active; WooCommerce cost of goods when enabled; the B2B cost field on the product. With no cost, rules that need a cost (the add-on's cost-based rules) are skipped (fixed and % off rules still apply) and margins show "margin not checked".
Reporting bugs
Go to Plugins → Oakhammer B2B → Help & feedback, choose "Bug report", and tell us the steps, what you expected and what happened. Bug reports we can confirm earn a free month: we add a month to your license, or send a free 30-day Pro license if you use the free version. See the
bug rewards rules. Please report security issues privately to privacy@oakhammer.app.
Privacy
B2B never sends your store's customer, order, quote or product data anywhere. Two things can send information to Oakhammer Software, and only when you choose them:
- Usage data opt-in (Freemius). The plugin asks once, on its own admin page, whether to share basic, non-sensitive diagnostic data: your name and email, site URL, WordPress, WooCommerce and PHP versions, plugin version, language and active plugins/theme. It is handled by Freemius for Oakhammer Software. Choose "Skip" and nothing is sent; you can opt out later from the plugin's Account page. See the Freemius privacy policy and ours.
- Help & feedback form. Emails your report to Oakhammer Software. If you leave the diagnostics box ticked it also sends: plugin, WordPress, WooCommerce and PHP versions, active theme and plugins, the HPOS setting, your license plan and license ID (never the license key), your site URL, and counts of B2B roles and customers. You can see the exact list on the form before sending.