Group Commerce
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.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 3.0.0-alpha1 | Pre-release | Sep 29, 2023 | ||
| 2.0.0-alpha1 | Pre-release | Sep 29, 2023 | ||
| 2.0.x-dev | Dev | Jul 22, 2023 | ||
| 3.0.x-dev | Dev | Jul 18, 2023 |