This project is not covered by Drupal’s security advisory policy.
Commerce Product Bundles module provides new Commerce content entity type that allows You to create separate Bundle Products with Bundle Product Variations (Purchasable entity) that are referencing multiple Commerce Product Variations - bundles.
Each Bundle Variation provides 'Price' field allowing You to bundle two or more Product Variations by new/different price.
Module allows You to create bundles of multiple commerce products and to set quantity to each reference. Purchasable entity (Bundle Variation) is stored in DB alongside information about selected referenced commerce product variations and matching quantities.
One can also create multiple translatable bundles types of Commerce Product Bundles and Bundle Variations.
This module was modeled and designed after Drupal Commerce module (see https://www.drupal.org/project/commerce) following Commerce architecture, it is fully compatible and depended up on Drupal Commerce.
Dependencies
- Commerce 2 (Submodules: Commerce Product, Commerce Cart, Commerce Checkout)
- Commerce Currencies Price
- Commerce Currency Resolver
- Select2 (see https://www.drupal.org/project/select2 for set-up instructions)
Configuration
Commerce Product Bundle is extension to Drupal Commerce module.
In order to create Bundle Products Your site needs to have configured commerce Store and published commerce products (and commerce variations).
Module allows to add referenced products and product variations(PV) - PV can have one or more commerce attribute or none.
Example:
Bundle variation has 3 referenced commerce products:
Product1 - Product1 variation1 quantity = 2
Product1 variation2
Product1 variation2
Product2 - Product2 variation21 quantity = 1
Product2 variation22
Product3 - Product3 variation31 quantity = 3
Product3 variation32
Product3 variation33
- when purchasing this bundle variation user will always get all 3 products with matching quantities but will choose
which variation of each product
- e.g. user chooses:
Produc1 variation2
Produc2 variation21
Product3 variation33
- user gets:
Produc1 variation2 X 2
Produc2 variation21 X 1
Product3 variation33 X 3TO DO:
Implement support for referencing product variation without commerce attributes(DONE)- Implement enhanced bundle variation widget (referenced variations element) for showing and allowing selection of each variation attribute (currently all variation attributes are combined)
- Issue with 'Bundle Image' field formatter
- Write test
Similar modules:
Project information
Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: E-commerce
- Ecosystem: Commerce Core
10 sites report using this module
- Created by agolubic on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.



