Punkbooster / spree_multi_currency

Provides UI to allow configuring multiple currencies in Spree.

Home Page:http://guides.spreecommerce.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Provides UI to allow configuring multiple currencies in Spree.

http://guides.spreecommerce.org

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


Languages

Language:Ruby 77.1%Language:HTML 17.1%Language:JavaScript 4.1%Language:CSS 0.9%Language:CoffeeScript 0.8%