This module uses the Group module to support B2B purchasing in Drupal Commerce. The use case for the module is currently fairly narrow until additional configuration options can be added to the module, such as supporting multiple group types and allowing the user to specify a group context for an order.
Required usage conventions
A couple things in the module today work by expected conventions:
- You must define a group type with the machine name
companyand can then enable it to own orders, products, promotions, stores, and any other Commerce entities you define GroupContentEnabler plugins for. Follow this issue for adding a Group setting to identify Commerce Group types. - The module currently works for a scenario where customers are members of only one such company group. Follow this issue for adding group selection to the module.
Required patches
This module is still very much a developer oriented utility module. It requires you apply the following patches to the Group module in your Drupal project build via composer-patches:
- https://www.drupal.org/project/drupal/issues/3005554#comment-12808691
- https://www.drupal.org/project/group/issues/3049283
- https://www.drupal.org/project/group/issues/3166107
(Note: for MR based patches, get the URL from the "plain diff" link in the issue.)
Release roadmap
We will not consider a release for this module until this issue to make use of the Entity Access API is resolved.
Project information
- Project categories: E-commerce
- Ecosystem: Commerce Core
20 sites report using this module
- Created by lawxen on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
Development version: 3.0.x-dev updated 28 Oct 2023 at 17:05 UTC
Development version: 2.0.x-dev updated 1 Sep 2023 at 19:15 UTC







