jtapia / solidus_ship_compliant

Add Ship Complinat tax rate calculation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SolidusShipCompliant

Build Status

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

Requirements

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

Installation

Add solidus_ship_compliant to your Gemfile:

gem 'solidus_ship_compliant'

Bundle your dependencies and run the installation generator:

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 static code analysis. 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_ship_compliant/factories'

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

About

Add Ship Complinat tax rate calculation

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 91.7%Language:HTML 6.0%Language:CSS 1.2%Language:JavaScript 1.1%