Sha256: e00d3c83af680f2eb85ccfc9f98eeca62085b901b89b80e78d04cbc621ebf0d8

Contents?: true

Size: 1.44 KB

Versions: 3

Compression:

Stored size: 1.44 KB

Contents

Variant Labels for Spree stores
=======================

Create labels for your variants and manage what labels are applied into a Variant

How to Use
----------

Access labels management trough products sub menu, then create your labels with their names (which will be displayed inside the label) and the label color.

**Do note that this gem does not handle frontend display as it current state, it only provides the relationship between labels and variants so you can handle your own rendering**

After creating your labels, go edit a variant and you must seee a checkbox list to manage which labels will be used with the variant being edited.


Installation
------------

Add spree_zaez_variants_labels to your Gemfile:

```ruby
gem 'spree_zaez_variants_labels'
```

Bundle your dependencies and run the installation generator:

```shell
bundle
bundle exec rails g spree_zaez_variants_labels: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`.

```shell
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:

```ruby
require 'spree_zaez_variants_labels/factories'
```

Copyright (c) 2015 [http://zaez.net](Zaez Inovação Digital), released under the New BSD License

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_zaez_variants_labels-3.0.5 README.md
spree_zaez_variants_labels-3.0.4 README.md
spree_zaez_variants_labels-3.0.1 README.md