Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Beta version for Commerce 3.X and Drupal 11 support.
tested all functionality to a single store and works as expected. All database transactions and operations look correct.
However, as this is a powerful module with many use cases I will have it as a beta for a while and try and test on other projects. Please report any new issues you come across :)
Bug fixes and improvments
#3381102 WSOD when the quantity field is not present in the cart
#3309574 Field widget doesn't allow to set initial stock level if purchasable entity hasn't been created
#3397961 Relying on entity queries to check access by default
This will hopefully be the last version before the full release. I will wait about a week to allow any issues caused by the below to come up and if all is clear will release 8.x-1.0.
First working version of the module.
All core functionality should be working.
known issues:
- Views integration
- Purchasable entities that are not commerce_product_variation are not fully supported
- Improvements to the API that will improve support for custom inventory / ERP integration may be introduced before beta but should not efect normal use of the module
main new features:
Integer/decimal formatter for inline entity forms
Allow check cart product level to be altered for custom products.
Fix highlight of out of stock cart lines
#1791350 "Increase stock when order is canceled" Optional rule #2291359 Removed hardcoded Add to cart text - Adds compatibility with upcoming commerce feature #2278951 Improve cart validation
When upgrading to this version make sure you set the new permissions (see below) to relevant roles:
* A formatter for displaying stock as a message.
* A new Stock Rules admin screens.
* Improved ux for new rules Stock management forms.
* Display the stock field in Inline Entity Form if the module is installed .
* New "Administer Stock Configuration" permission
* New "Make rule based changes to commerce stock" permission.
Important!! A new permission has been added "Administer Stock Configuration" you will ned to add this to all relevant roles.
All Changes:
Issue #1715680 by @johnpicozzi - Rule Condition broken
Issue #1799986 by yanniboi: Typo for error message in .module
Issue #1869930 by dwatts3624 - Administer Stock Configuration permission
Updated README.txt.
New features to protect your stock
- User can't enter checkout with out of stock items
- checks stock when before user submits the review page (stop user from paying)
in both cases user s sent to the cart page.
Use of entity_metadata_wrapper and other code improvements - stable.
In this release we now have:
* A default rule to decrement stock (if you have a custom one you'll get double-decrement)
* A user interface to enable stock management on different product types
* Automatic creation of the stock field
* Stock field became a plain number field