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:

  1. You must define a group type with the machine name company and 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.
  2. 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:

(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.

Supporting organizations: 
Development and Support
Initial development

Project information

Releases