EnotionZ / spree_runsize

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpreeRunsize

Add multiple quantities and prices to the master product, useful for print shops or anything products with price tiers.

Installation

Add spree_runsize to your Gemfile:

gem 'spree_runsize'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_runsize:install

Testing

First bundle your dependencies, then run rake. 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 rake test_app.

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:

require 'spree_runsize/factories'

Copyright (c) 2014 Dominick Pham, released under the New BSD License

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 87.9%Language:JavaScript 8.4%Language:CSS 3.7%