Spree extension to create product variants as-needed. Spree 3.0+
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
config
db/migrate
doc
lib
public/admin/javascripts/orders
script first UNTESTED-no-chance-it-will-work step towards spree 1.0 support Feb 19, 2012
spec changes the merege method to match sprees May 27, 2015
vendor/assets/javascripts
.gitignore SPecifying spree 2-4 in gemfile and adding coverage folder to ignored Dec 6, 2014
Gemfile
LICENSE
README.md
Rakefile
Versionfile
spree_flexi_variants.gemspec

README.md

SpreeFlexiVariants

Master branch for Spree 3.3.0+ Read version notes for details.

This is a spree extension that solves two use cases related to variants. I call them Ad Hoc Options and Product Customizations.

Ad Hoc Options

Use these when have numerous (possibly price-altering) product options and you don't want to create variants for each combination.

You can also restrict certain combinations of options from coexisting. These are called Ad Hoc Exclusions.

Product Customizations

Use these when you want the ability to provide a highly customized product e.g. "Cut to length 5.82cm", "Engrave 'thanks for the memories'", "Upload my image". Full control over pricing is provided by the Spree calculator mechanism.

Version Notes

The branch spree-3-3 version for spree 3.3.0

The branch spree-3-2 version for spree 3.2.0

The branch spree-3-1-stable version for spree 3.1.0

The branch spree-3-0-stable is an somewhat stable version for spree 3.0.0 with updated styles to match.

Working with a older spree? Check out the original gem or one of the many forks. https://github.com/jsqu99/spree_flexi_variants

Installation

See the notes in Versionfile if you are using an older version of spree

gem 'spree_flexi_variants', github: 'QuintinAdam/spree_flexi_variants', branch: 'spree-3-3'

bundle install

bundle exec rails g spree_flexi_variants:install

Examples

Build a 'Cake' product using Ad Hoc Options and Product Customizations

Cake

Build a 'Necklace' product using Ad Hoc Options and Product Customizations

Necklace

Build a 'Pizza' product using Ad Hoc Options. Note that the 'multi' option checkboxes come from a partial named after the option name (see app/views/products/ad_hoc_options/_toppings.html.erb)

Picture Frame

See the wiki for more detail.