Skip to content

deseretbook/solidus_variant_picker

Repository files navigation

CircleCI

Solidus Variant Picker

Plugin to allow selecting different variants on the product page.

Installation

Add solidus_variant_picker to your Gemfile:

gem 'solidus_variant_picker'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g solidus_variant_picker: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 'solidus_variant_picker/factories'

Copyright (c) 2016 Deseret Book, released under the New BSD License