Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 1 month 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T21:59:21.000Z (almost 2 years ago)
- Last Synced: 2024-10-31T13:46:09.395Z (about 2 months ago)
- Language: Ruby
- Homepage: https://plugins.workarea.com/plugins/inventory-notifications
- Size: 617 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
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)