Spree Extension for german market
Last updated on: September 22 at 04:00 PM
source code bug trackerConfigure and extend spreecommerce for being more german market ready. Assumes a german country.
Add spree_german_market to your Gemfile:
gem 'spree_german_market', :git => 'git://github.com/hefan/spree_german_market.git'
For a specific version use the appropriate branch, for example
gem 'spree_german_market', :git => 'git://github.com/hefan/spree_german_market.git', :branch => '3-1-stable'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g spree_german_market:install
Add products with the appropriate shipping and tax categories to your shop and you're done.
You may add the following to your application.rb:
'de' as i18n default locale of your application config.i18n.default_locale = :de
'Berlin' as the time_zone of your application config.time_zone = 'Berlin'
If you want to move all existing Products - to the newly created shipping category - to the newly created tax category
and set the currencies of all products and incompleted orders to EUR
(without altering the prices) use
bundle exec rails g spree_german_market:convert_products
Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.
bundle
bundle exec rake test_app
tags | spree versions |
---|---|
master | > 3.1 |