Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boomerdigital/solidus_flexi_variants
https://github.com/boomerdigital/solidus_flexi_variants
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/boomerdigital/solidus_flexi_variants
- Owner: boomerdigital
- License: bsd-3-clause
- Created: 2017-05-01T19:30:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-30T18:41:11.000Z (over 3 years ago)
- Last Synced: 2024-04-05T11:33:15.202Z (7 months ago)
- Language: Ruby
- Homepage:
- Size: 2.42 MB
- Stars: 15
- Watchers: 8
- Forks: 29
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/boomerdigital/solidus_flexi_variants.svg?branch=master)](https://travis-ci.org/boomerdigital/solidus_flexi_variants)
# SolidusFlexiVariants
This extension 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
TODO
I have only tested with V2.0, unsure if compatible with other versions as of yet.## Installation
# see the notes in Versionfile if you are using an older version of spree
gem 'solidus_flexi_variants', github: 'boomerdigital/solidus_flexi_variants', branch: 'master'bundle install
bundle exec rails g solidus_flexi_variants:install
## Examples
Build a 'Cake' product using **Ad Hoc Options** and **Product Customizations**
![Cake](https://raw.github.com/QuintinAdam/spree_flexi_variants/master/doc/custom_cake.png)
Build a 'Necklace' product using **Ad Hoc Options** and **Product Customizations**
![Necklace](https://raw.github.com/jsqu99/spree_flexi_variants/master/doc/necklace_screenshot.png)
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](https://raw.github.com/jsqu99/spree_flexi_variants/master/doc/pizza_screenshot.png)
See the [wiki](https://github.com/jsqu99/spree_flexi_variants/wiki) for more detail.