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_pvt

18 sites Security covered
View on drupal.org

Synopsis

This module aims to expose all the product variation in a VIEW table and adding them to cart.

This tool is usefull for a wholesaling way of acquiring the stock of items, where a person who's buying, has to add many variations with different quantities at once.

Features

  • This module can operate as a simple quantity fields with a big submit button below,
  • or with Enhanced version of the quantity widget, with Plus / Minus buttons around that operates in ajax mode, and can be delayed via debounce (with configuration). So basically you can click many times to increase the quantity before the update event is fired

Known problems

This module depends on this patch for Drupal commerce: #3017662: Order Item Type Resolving Mechanism! But, if you don't have any custom logics or custom/different order types / users roles to manage - fear not installing this patch anyway - it won't change any commerce logic for you. The Chain Resolving process of the Order Item Type is transparent without any custom resolvers installed. Yet, you still need the patch for this module to work.

Requirements

Drupal Commerce

Drupal commerce compatibility

  • ≥ 2.15 < 2.28 (drupal core ^8.9) -> commerce_pvt 2.x branch
  • ≥ 2.28 < 3.0 (drupal 9, 10, 11) -> commerce_pvt 2.x branch
  • ≥ 3.0 (drupal ^10.3, 11) -> commerce_pvt 3.x branch

PAY ATTENTION:

if you want your Drupal project to accept the patches from dependencies (like in this module: we need to patch commerce module to work properly) we need the cweagans/composer-patches and specify an extra option too:

{
  ...
  "require": {
      "cweagans/composer-patches": "^1.5.0"
  },
  "extra": {
      "enable-patching": true
  }
}

Roadmap

0. Manage the above mentioned PATCH to be pulled into Commerce Core project (i'm affraid this will never happen)

1. Finish developing the code and polish the rails

- Make the view as Pseudo field instead of preprocessing it as simple array to render.
- Create a configuration for enhanced widget with +/- wrapper elements
- Make the Enhanced widget delay-able via debounce

2. Write a documentation (any)

- User guide

3. Write some Tests to look cool and approved

- Drupal commerce patch tests that confirm the idea behind
- Any possible tests (the Commerce core patch from above, contains new tests for commerce_order sub-module within it)

Activity

Total releases
5
First release
Jan 2025
Latest release
4 months ago
Release cadence
76 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
3.0.0-beta3 Pre-release Nov 30, 2025
3.0.0-beta2 Pre-release Nov 22, 2025
3.0.0-beta1 Pre-release Nov 22, 2025
3.x-dev Dev Nov 22, 2025
2.0.0-beta8 Pre-release Jan 29, 2025