Commerce Stock Notifications will modify the add to cart form on out of stock products, allowing users to enter an email address to be notified when the product is back in stock.
Drupal 8+
Although the 8.x version works very similarly to 7.x it has some newer features.
Installing the module is straightforward. All messages are configurable via an admin form located at /admin/commerce/config/stock/stock-notifications.
In the 7.x version if you accidentally provided a wrong e-mail address you had no way of unsubscribing without editing the database. Version 8.x uses Entity API and as such it was much easier to implement and you can unsubscribe by visiting /user/%user/stock_notifications and clicking the unsubscribe link.
As an administrator you're allowed to unsubscribe anyone. Visit /admin/structure/commerce_stock_notification and fetch the unsubscribe link that you need.
Anonymous users can subscribe, but cannot unsubscribe (that is possible only manually using the module's administration).
Drupal 7
Currently there are, to my knowledge, two other sandbox projects that perform similar functions. They are
Commerce Waitlist (https://drupal.org/sandbox/itamar/1772176)
Commerce Stock Notify (https://drupal.org/sandbox/Rajeevkr/2047369)
For the use case I wrote this module for, the Waitlist sandbox would not work as it required users to be logged in, offering no support for anonymous users. It also had a dependency on flags and I was hoping to minimize dependencies.
The Commerce Stock Notify sandbox was the closest to what I needed but it had been silent for about 8 months. Upon looking at the code I found that much of it was very site specific and I wanted to make something that was generic and could be plugged in on any Commerce site. I do want to give a big thanks to Rajeevkr though for the work he did, I used some of it as the starting blocks for this new project.'
This module should be pretty straightforward to install and administer. All of the text used on the notification form are editable on the admin page ( /admin/commerce/config/stock/stock-notifications ) and the email that is sent is controlled by a Rules component called 'Send Commerce Stock Notifications'.
Important information
7.x-1.x branch supports Drupal 7. No new features will be added. Drupal 7 will reach end of support on January 5th, 2025. After January 5th and until such time as Drupal.org (D.O.) processes mark the branch as unsupported, there will be no further development except for critical bugs (or similar). After the D.O. update the 7.x-1.x series will be fully unsupported.
Project information
- Project categories: Administration tools, E-commerce, User engagement
- Ecosystem: Commerce Core, Commerce Stock
568 sites report using this module
- Created by AngryWookie on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
Drupal 11 support
Development version: 8.x-1.x-dev updated 15 Jan 2026 at 22:29 UTC








