/spree_misc_line_item

Add Miscellaneous Items to Order

Primary LanguageRubyBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Spree Miscellaneous Line Items

Adds ability to add Miscellaneous items to order which are tagged as LineItemeable. Also adds new promotion action to add misc line items to Order

Installation

Add spree_misc_line_item to your Gemfile:

gem 'spree_misc_line_item'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_misc_line_item:install

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

bundle
bundle exec rake test_app
bundle exec rspec spec

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'spree_misc_line_item/factories'

Copyright (c) 2015 [name of extension creator], released under the New BSD License