Spree Variant Options is a very simple spree extension that replaces the radio-button variant selection with groups of option types and values. To get a better idea let's let a few images do the explaining.
To see it in action, follow the steps for "Demo" below.
If you don't already have an existing Spree site, click here then come back later... You can also read the Spree docs here...
To install Spree Variant Options, just add the following to your Gemfile:
gem 'spree_variant_options', '0.3.0'
Now, bundle up with:
bundle
Next, run the install generator to copy the necessary migration to your project and migrate your database:
rails g spree_variant_options:install
rake db:migrate
Spree Variant Options is compatible with Spree 0.30.x through 1.0.x. Please reference Versionfile
for more details.
Clone this repo to where you develop, bundle up, then run `dummier' to get the show started:
git clone git://github.com/citrus/spree_variant_options.git
cd spree_variant_options
bundle install
bundle exec dummier
# cucumber/capybara
rake cucumber
# test/unit
rake test
# both
rake
POW!
You can easily use the test/dummy app as a demo of spree_variant_options. Just cd
to where you develop and run:
git clone git://github.com/citrus/spree_variant_options.git
cd spree_variant_options
cp lib/dummy_hooks/after_migrate.rb.sample lib/dummy_hooks/after_migrate.rb
bundle install
bundle exec dummier
cd test/dummy
rails s
If you'd like to help out feel free to fork and send me pull requests!
Copyright (c) 2011 - 2012 Spencer Steffen and Citrus, released under the New BSD License All rights reserved.