Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

spree-contrib/spree_multi_currency

Repository files navigation

⚠️ Deprecation notice ⚠️

Since Spree 4.2 this extension is deprecated and not needed. Multi Currency was merged into Spree core.

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published