https://github.com/workarea-commerce/workarea-inventory-notifications
A plugin for notifying shoppers when a product comes back in stock
https://github.com/workarea-commerce/workarea-inventory-notifications
Last synced: about 2 months ago
JSON representation
A plugin for notifying shoppers when a product comes back in stock
- Host: GitHub
- URL: https://github.com/workarea-commerce/workarea-inventory-notifications
- Owner: workarea-commerce
- License: other
- Created: 2019-08-21T18:54:37.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2026-03-02T14:33:21.000Z (3 months ago)
- Last Synced: 2026-03-02T17:52:23.637Z (3 months ago)
- Language: Ruby
- Homepage: https://plugins.workarea.com/plugins/inventory-notifications
- Size: 621 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Workarea Inventory Notifications
================================================================================
Plugin to add back in stock notifications to the storefront.
If a product is out of stock, and has the 'allow notify' inventory policy, consumers will see a link to request a back in stock notification.
When the `Inventory::Sku` save method is called the restock_notifier checks if the sku is now purchasable, checks for unsent inventory notifications on that sku, and sends the mailer.
The notify inventory policy behaves the same ways as `Inventory::Policy::Standard` except it will always display a product, even when it is out of stock.
Getting Started
--------------------------------------------------------------------------------
Add the gem to your application's Gemfile:
```ruby
# ...
gem 'workarea-inventory_notifications'
# ...
```
Update your application's bundle.
```bash
cd path/to/application
bundle
```
Workarea Commerce Documentation
--------------------------------------------------------------------------------
See [https://developer.workarea.com](https://developer.workarea.com) for Workarea Commerce documentation.
License
--------------------------------------------------------------------------------
Workarea Inventory Notifications is released under the [Business Software License](LICENSE)