Grow your business
The eCommerce world is divided between e-commerce B2B (Business to Business) and B2C (Business to Consumer): in B2C e-commerce, the customer is a final consumer, but in e-commerce B2B the customer is another company.
Looking for a wholesale solution for your e-commerce?
Stop your search, WooCommerce B2B is here!
Finally, the first all-in-one plugin to make WooCommerce compliant with Business-to-Business needs. With WooCommerce B2B you have all the main features required to build a successful wholesale e-commerce in only one solution.
Say goodbye to incompatibility issues.
WooCommerce B2B is a plugin that allows you to enable Business-to-Business mode in your WooCommerce shop, to use it for wholesale.
By enabling WooCommerce B2B, you can display prices only to logged in customers, moderate registration, only allow orders reaching a minimum amount, add new useful fields to products and checkout page… and now also manage product categories visibility!
But it is not over here! New and very useful features that will be released with the next updates are already under development.
For more information, see Official plugin page.
List of Features
? Hide price to guest users
Only registered and logged in customers can see product prices and can purchase.
? Single product prices by group
Set single product price by customer group, set a global percentage discount or both of them (cascading).
? Product discount by customer group
Create customer groups with customized discount percentage to differentiate price lists. It can be applied cascading on single product price by group.
? Product prices with and without taxes
Guest customers will view prices including taxes, customers assigned to WooCommerce B2B groups will view prices excluding taxes.
? Product categories visible by group
When enabled, each product category can be set to be visible only to certain customer groups. Obviously, also products belonging not allowed product categories will be hidden.
? Approve customer registration
Feel free to decide which customers allow to buy from your store, enabling their accounts if you deem appropriate.
? Extended registration form
Add checkout billing fields to registration form to extend it.
? Customer default group [NEW]
Assign default group automatically when customer register.
Guest group [NEW]
Consider guest customers as a dedicated group, to set their own rules.
? Customer notification on approvation
Send email notification to customer when his account is enabled and active.
? Admin notification on new customer registration
Send email notification to admin when a new customer account registered.
? Manage payment gateways
In each groups you can decide to disable payment methods to customers assigned to the group.
? Manage shipping methods
In each groups you can decide to disable shipping methods to customers assigned to the group
? Vat number field in billing address and in email
Add mandatory VAT number field in checkout billing address, in order email and in order details in backend.
? VIES validation [UPDATED]
Enable VAT number field VIES validation for EU customers.
? Minimum amount to place order by group [UPDATED]
Customers can purchase only if their cart total price is equal to or greater than established amount by group.
? Minimum quantity to add to cart
Customer can add to cart no less than established quantity of single product.
? Incremental product quantities
Product can be purchased only in established quantity incremental.
? User bulk actions in admin panel
Assign multiple customers to a group in one single click or enable/disable customer accounts with bulk actions in admin panel.
? Export customers list in CSV
Get a CSV file containing all customers data with extended WordPress export tools.
? Import/Export WooCommerce B2B products data
Manage massively WooCommerce B2B fields with extended WooCommerce Import/Export tool.
? Filter users by group
Make your work faster and easier by filtering your users by group.
? Filter users by status
Make your work faster and easier by filtering your users by status.
? Customer login wih email
Simplified login with email address instead of username.
? Great compatibility
Requires WooCommerce v3.x.x and it is compatible with all themes.
100% multilanguage support and currently provided with Italian and English. Included POT file to speed up translations in other languages.
? Custom hooks
Lots of hooks to easily customize plugin default behavior.
? Customized notices with hooks
Customize all B2B messages by using proper filters and hooks.
Frequently Asked Questions
How works VIES validation and what it needs?
VIES is an electronic mean of validating VAT-identification numbers of economic operators registered in the European Union for cross border transactions on goods or services. Through VIES WebService, WooCommerce B2B will validate your EU customers VAT number in checkout and in extended registration form.
To know more about supported EU member countries, please refer to: VIES VAT number validation.
Important: VIES validation is based on third part API, WooCommerce B2B is not responsible for any malfunctions and/or validation errors. VIES validation requires PHP SOAP extension, please check if it is enabled on your server or contact your hosting provider.
How can I import/export WooCommerce B2B products fields?
Since version 2.1.0 WooCommerce B2B extends default WooCommerce import/export tools. So, simply go to `Products` menu and then `All Products` and click on the “Import” or “Export” button near the page title.
Why prices don’t update if I change group discount percentage or customer group assignment?
To improve performance, WooCommerce B2B generates a cache of price using user ID, so every time the user navigates the site (when logged in) prices are not recalculated, but taken from the cache, improving the browsing speed and the User Experience.
To clear WooCommerce cache and regenerate prices, simply go to `WooCommerce` menu and then `Status` > `Tools` > `WooCommerce transient` and click on the “REMOVE TRANSIENT” button.
How can I translate WooCommerce B2B in my language?
WooCommerce B2B is already provided in two languages: English and Italian. All plugin strings have been localized using the GNU gettex framework to make it completely “translation ready”, so it can be easly translated in the same way that other WordPress plugins.
In the included documentation you’ll find a simple guide to translate WooCommerce B2B in the language of your choice.
Why I can’t find group and status in user details?
WooCommerce B2B is an extension developed to work with the default “customer” role of WooCommerce, probably the user you are trying to change group and/or status has another role.
How can I apply WooCommerce B2B rules to other user roles?
Right now, WooCommerce B2B does not allow you to use its features on other roles except customers, but you can work around the problem by using the free plugin Multiple-roles, with which you can assign your custom role to users who already have the customer role and use both of them.
Notice: Multiple roles is a third part plugin, then Code4Life is not responsible of problems or malfunctions resulting from its use.
Where do I see the options?
In the admin page, under WooCommerce `Settings` menu
If I uninstall the plugin, what happens to its data in the database?
By default the plugin delete all its data if you uninstall it
You can always deactivate the plugin without loosing data
Why cannot I view the status and group fields on the user edit page?
Status and group fields are available only for users with customer role. All other users do not have them.
Is it possible to have a public price list and allow users logged in to view the discounted price dedicated to them?
Yes, it is possible. Simply deselect the “Hide prices” option, so each guest user will see the default price assigned to the product, while the logged in customers will see the discounted price (if assigned to a group)
If I activate `Product categories visibility` option, what it happens?
You can select in every product category the visibility for each customer group. Customers can see only products belonging the visible product categories. All not visible items aren’t displayed in all the website (menu, shortcodes, widgets, lists, up-sells, cross-sells, related).
Where can I find customers export tools?
In the admin page, under `Tools` -> `Export`.
Is it compatible with multi-vendor plugins?
WooCommerce B2B doesn’t completely support multi-vendor websites. Options can be only set globally and not for each vendor. Please, ask support for more information.
If I update from 1.0 version, I will lose all groups perviously created?
No, WooCommerce B2B new version automatically convert old groups in new version, you will not lose anything previously set.
If I update from 1.0 version, I will lose the previous settings?
No, updating you will not lose anything previously set.
I’m updating from 1.0 version but I can’t found groups management. Where is it?
From version 2.0.0, groups are under `Users` -> `All Groups`.
How do I update the plugin?
When an update is available, you will receive a notification email and you will be able to download and install the new version.
If you prefer to automate this process and receive notification directly in the backend of your WordPress, you can install the free third party “WP Envato Market” plugin available on GitHub (https://github.com/envato/wp-envato-market)
Changelog and Updates
v2.1.4 - 12 March 2020 ------------------------ * Add: new feature to assign customer to a default group on new registration * Add: now guest customers has a dedicated group, automatically created by default * Update: minimum purchase amount now can be set by group * Update: when a group is deleted, all customers assigned to that group are automatically assigned to default group * Update: VIES validation allow also VAT numbers starting with country code * Fix: dedicated prices calculation issue * Tested compatibility with WooCommerce v4.0.0 v2.1.3 - 29 February 2020 ------------------------ * Update: improved prices calculation for better performance and compatibility * Update: improved login process when moderate registration is enabled * Fix: improved products category visibility by group handling when a group hasn't any product category selected * Fix: prevent customer login by wp-login.php page when not active * Fix: improved minimum quantity application for product loop add-to-cart button * Fix: improved minimum quantity application for variable products * Fix: improved display prices with tax and without tax in cart and thankyou page * Fix: resolved some warnings when create customers via REST API * Minor fix: some translation strings in POT file v2.1.2 - 01 November 2019 ------------------------- * Add: new feature to display prices with tax to guest customers and without tax to logged in customer belonging WCB2B group * Add: new option to disable shipping methods by group * Add: new feature to validate VAT number with VIES API for EU customers in checkout and extended registration form * Update: changed and updated some translations * Fix: improved minimum quantity and increment for grouped products * Fix: improved bulk import when create new products * Minor fix: hooks priority improvements v2.1.1 - 22 September 2019 -------------------------_ * Fix: bug related to save groups payment methods when no one is selected * Minor fix: updated some settings translations * Tested compatibility with WooCommerce v3.7.0 v2.1.0 - 18 May 2019 -------------------- * Add: new feature to manage product prices! You can set different prices for every single product depending on customer group (can be applied in cascade to the percentage discount already existing in previous versions of WooCommerce B2B). Now you can decide between: - apply a discount percentage to all the products in the catalog (as in the previous versions); - apply a dedicated price to each product according to the customer group; - apply a percentage discount on the single price dedicated to the customer group; * Add: new functions to import/export WooCommerce B2B fields and prices in default import/export tools * Update: improved compatibility with certain themes relating to cross-sells and up-sells * Update: changed and updated some translations * Update: improved compatibility with lastest WooCommerce releases (deprecated functions) * Fix: bug related to minimum product quantity in grouped products * Minor fix: improved functions to remove some unnecessary warnings in log file with PHP version > 7.1.x v2.0.7 - 23 February 2019 ------------------------- * Add: new function to clear price cache when customer group or discount percentage changes * Add: new function to hide products belonging to categories not visible even in search results * Update: improved exclusion of products belonging to categories not visible in related products * Update: improved and fixed redirection function in case of non-visible categories and related products * Update: improved compatibility with certain themes relating to cross-sells and up-sells * Fix: link to settings on the plugins page * Fix: bug related to the input field in the cart in case of product minimum quantity * Fix: bug related to non-existent customer account when moderate registration option is enabled * Minor fix: global performance improvements v2.0.6 - 18 November 2018 ------------------------- * Add: create a POT file to speed up translation in other languages * Fix: correct bug that prevented to display more than 10 groups in product category visibility box * Minor fix: improved functions to remove some unnecessary warnings in log file v2.0.5 - 27 October 2018 ------------------------ * Add: now it's possible to filter users by status (active/inactive) * Add: new hook filter to customize filters in users list page in admin * Add: new hook filter to change message that display discount amount assigned to customers (if they have one) in their own account area or in products page * Update: improved messages strings and translations * Fix: checking account message in emails footer in now displayed only when expected * Fix: improved display of the list of payment methods in groups * Minor fix: improved functions to remove some unnecessary warnings in log file * Minor fix: display minimum and increment quantity message in product page * Minor fix: improved displaying of discount according to Woocommerce settings v2.0.4 - 08 September 2018 -------------------------- * Add: new option to disable payment methods by group * Add: new option to display discount amount assigned to customer in single product page * Add: new metabox to group in admin to summarize product categories visibility * Add: new useful function in the backend to export the customers list in CSV, included customer group and status * Update: improved products price calculation with group discount * Fix: product categories visibility in WooCommerce "Product categories" default widget (when "Product categories visibility" option is enabled) * Fix: "Visibility of group access" option in product categories can now have no group enabled * Minor fix: improved group displaying in customers list in admin v2.0.3 - 15 July 2018 --------------------- * Add: new useful function in the backend to filter the user list by group * Add: extended registration form field validation * Add: new option to send email notice to admin when a new customer registers * Update: improved activation email sending process * Update: improved translation in IT * Fix: extended registration form state and country selection * Fix: customer discount in account area now is correctly hidden if option is disabled v2.0.2 - 04 July 2018 --------------------- * Fix: resolved issue with country and province select fields in extended registration form * Fix: resolved issue that sent activation email on every save in customer account (when function enabled) v2.0.1 - 16 June 2018 --------------------- * Add: new function to avoid price structured data if prices are hidden * Fix: resolved issue with category products visibility when groups are enabled * Fix: resolved issue in mini cart amount calculation * Fix: minor bugs v2.0.0 - 30 May 2018 -------------------- * Add: new groups management system * Add: new feature to hide product categories * Add: new feature to extend registration form * Add: new functions to easily and automatically convert old groups to new custom post types * Add: new "wcb2b_billing_company_required" hook to make company field mandatory is applied only to WooCommerce version before 3.4.0 * Update: language domain as requested by WordPress internationalization standards * Fix: resolved issue when displaying WooCommerce email settings * Fix: resolved problem when sendind customer activation notification * Fix: resolved random problem with minimum cart amount message v1.0.0 - 01 April 2018 ---------------------- * Initial release