Sha256: 509e4d9ed64d3ae46e2bfefcb1b63db787182a9fe4349fd854887f45120c0b7f

Contents?: true

Size: 1.49 KB

Versions: 1

Compression:

Stored size: 1.49 KB

Contents

SolidusShipCompliant
====================

[![Build Status](https://travis-ci.org/jtapia/solidus_ship_compliant.svg?branch=master)](https://travis-ci.org/jtapia/solidus_ship_compliant)

Add Solidus ability to calculate rate taxes based on Ship Compliant third party

Requirements
------------

- Define taxonomies and taxons related # [ Brand, Categories ]
- Define the necessary `option_types` # [ bottle_size ]
- Define the necessary `product_properties` # [ default_case, default_wholesale_case_price, percent_alcohol, varietal, vintage, volume_amount, volume_unit ]
- Create relation between `products` - `taxons`, `product_properties` and `option_types`

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

Add solidus_ship_compliant to your Gemfile:

```ruby
gem 'solidus_ship_compliant'
```

Bundle your dependencies and run the installation generator:

```shell
bundle
bundle exec rails g solidus_ship_compliant: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, and [Rubocop](https://github.com/bbatsov/rubocop) static code analysis. 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 'solidus_ship_compliant/factories'
```

Copyright (c) 2018 [name of extension creator], released under the New BSD License

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_ship_compliant-1.0.0 README.md