Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
GitBook: [master] one page modified
Browse files Browse the repository at this point in the history
  • Loading branch information
damianlegawiec authored and gitbook-bot committed Sep 8, 2021
1 parent 1a8b9f9 commit b0dca47
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions upgrades/upgrades/four-dot-one-to-four-dot-two.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ gem 'spree_i18n', '~> 5.0'

## Remove SpreeMultiCurrency \(optional\)

If you used that gem in the past you need to remove it. Multi Currency is now incorporated into Spree core and you cannot use that gem anymore.
If you used that gem in the past you need to remove it. Multi-Currency is now incorporated into Spree core and you cannot use that gem anymore.

1. Remove `spree_multi_currency` from your `Gemfile`
2. Remove these preferences from your Spree initializer \(`config/initializers/spree.rb`\):
Expand All @@ -37,7 +37,13 @@ If you used that gem in the past you need to remove it. Multi Currency is now in
3. Remove `//= require spree/frontend/spree_multi_currency` from `vendor/assets/javascripts/spree/frontend/all.js`
4. Remove `//= require spree/backend/spree_multi_currency` from `vendor/assets/javascripts/spree/backend/all.js`

## Add `deface` gem \(optional\)
## \(Optional\) Remove SpreeI18n config

All international configuration is now kept on the `Store` model in the database rather than in initializer files.

If you used `spree_i18n` gem before please remove any `SpreeI18n::Config`references from your `config/initializers/spree.rb` file.

## \(Optional\) Add `deface` gem \(optional\)

If you used [Deface overrides](../../advanced/deface_overrides_tutorial.md#organizing-overrides) you will need to include `deface` in your `Gemfile` as it was removed from Spree / Spree Auth Devise / Spree Gateway dependencies.

Expand Down

0 comments on commit b0dca47

Please sign in to comment.