SolidusShipCompliant
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:
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