This extension provides a report in the Spree backend to show all products(SKU) that ran out of stock.
It will show all variants(with their descriptive name) that has zero items in the count_at_hand attribute.
The result can be filtered by a range of date, based on the updated_at attribute of the variant.
Add spree_report_products_ran_out_of_stock to your Gemfile:
gem 'spree_report_products_ran_out_of_stock', :git => 'https://github.com/cassioscabral/spree_report_products_ran_out_of_stock.git'
Bundle your dependencies and run the installation generator:
bundle bundle exec rails g spree_report_products_ran_out_of_stock:install
First bundle your dependencies, then run
rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using
bundle bundle exec rake
When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
Copyright (c) 2015 Cassio S. Cabral, released under the MIT License