Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

commerce_vado

336 sites Security covered
View on drupal.org

The Commerce Variation Add-On module allows Product Variations to reference other Product Variations and automatically adds them to the cart in a bundle. It also provides the option to add multiple groups of variations to a custom add to cart form, with 5 options of how those groups are rendered.

Core Features:

  • Adds referenced child product variations to the cart when the parent product variation is added to cart.
  • Adds groups of referenced product variations to the parent product variation and rendered them in different ways on the add to cart form.
  • Lock child product variation quantity to match parent product variation in the cart.
  • Set the parent variation price to $0 and hide the price so that it acts as a cart controller when sync is on.
  • Allows site builders to apply a discount to all the child product variations of a parent product variation.
  • Shows real time price changes on dynamic bundles, and group price is also calculated for static bundles.

Known Issues:

    Using Vado discounts with sync quantity off allows a customer to remove items out of a bundle and still get a discount on the remaining discounted items in the bundle. We recommend setting sync quantity to on if you are also using Vado discounts. See:#3252860: Discounted bundles can be broken down in the cart when sync quantity is off.

  • For the Product Variation Add On, if you are referencing only the same product variation that is enabled, attempting to us the Simple Inline Entity Form Display will cause an infinite loop crash. There is an issue here for that.
  • In version 2.0, we changed to a cart add entity event, which means child variations are not currently added in orders created through the admin area. See this issue.

Similar modules:

Commerce Bundles: Commerce Variation Add-on has very similar functionality to Commerce Bundles for Drupal 7.

Commerce Product Add-on: Commerce Variation Add-on differs in the following ways:

  1. Offers dynamic price calculation.
  2. Allows multiple sets of add on groups, rendered in different ways to be added to a single add to cart form.
  3. Offers a flexible percentage discount structure.

Commerce Product Bundle: Commerce Variation Add-on differs from Commerce Product Bundle in the following ways:

  1. All the variations of the bundle are added to the cart as individual order items.
  2. Commerce Variation Add-on utilizes normal Commerce Product Variations.

Installation:

  1. Go to /admin/commerce/config/vado and enable the fields you want on the Product Variation Type that you want to be the parent variation. Save.
  2. If you are using the child_variations field, go to /admin/commerce/config/product-variation-types/MY_VARIATION_TYPE/edit/fields and edit the child_variations field to select which Product Variation Type you want to be the child variation. Save.
  3. You will also need to set the adjustment setting on the variation price field at /admin/commerce/config/product-variation-types/VARIATION_TYPE/edit/display:
    Apply Vado discounts to the calculated price
  4. Configure the rest to your liking. The simplest implementation is to use one variation type for the parent, and one variation type for the child.

You can also reference the same child variation as the parent, but this can get a little confusing. There is a patch and a module that restrict entity self referencing, so you can look into those and decide what implementation is best for you.

Supporting developers:

tonytheferg and ericchew sponsored the initial development for 2.0.x-dev

Activity

Total releases
6
First release
Jan 2025
Latest release
1 year ago
Release cadence
6 days
Stability
50% stable

Release Timeline

Releases

Version Type Release date
3.0.2 Stable Feb 24, 2025
3.0.1 Stable Feb 21, 2025
3.0.0 Stable Feb 21, 2025
3.0.x-dev Dev Feb 21, 2025
2.0.0-rc6 Pre-release Jan 27, 2025
2.0.0-rc5 Pre-release Jan 27, 2025