Spree Line Item Discount
Adds adjustments to Line Items for discounts.
Add spree_line_item_discount to your Gemfile:
gem 'spree_line_item_discount', github: 'kitwalker12/spree_line_item_discount'
Create Promotion in Spree Admin. Add 'Create Line Item discount' action to your promotion. Currently this only supports Flat Percent calculator.
Action creates adjustments on each line item + a cumulative adjustment on the Order.
Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.
bundle install bundle exec rake test_app bundle exec rspec
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) 2014 Aditya Raghuwanshi, released under the New BSD License