Provides UI to allow configuring multiple currencies in Spree.
Ruby HTML JavaScript Other
Latest commit ee85eec Feb 8, 2017 @damianlegawiec damianlegawiec committed on GitHub Merge pull request #67 from spark-solutions/master
Fix invalid checkout price issue (#65)

README.md

Spree Multi-Currency

Build Status Code Climate

Provides UI to allow configuring multiple currencies in Spree.

This provides 3 preferences:

  • allow_currency_change - Allow the users to change their currency via the currency set action.
  • show_currency_selector - Display the currency selector in the main nav bar. This will only display if there are multiple supported currencies, and allow_currency_change is on.
  • supported_currencies - A comma separated list of

Installation

  1. Add this extension to your Gemfile with this line:

Spree >= 3.1

gem 'spree_multi_currency', github: 'spree-contrib/spree_multi_currency'

Spree 3.0 and Spree 2.x

gem 'spree_multi_currency', github: 'spree-contrib/spree_multi_currency', branch: 'X-X-stable'

The branch option is important: it must match the version of Spree you're using. For example, use 3-0-stable if you're using Spree 3-0-stable or any 3.0.x version.

  1. Install the gem using Bundler:
bundle install
  1. Copy & run migrations
bundle exec rails g spree_multi_currency:install
  1. Restart your server

If your server was running, restart it so that it can find the assets properly.


Contributing

See corresponding guidelines


License

Copyright (c) 2007-2015 Gregor MacDougall, Spree Commerce, and other contributors, released under the New BSD License