You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: upgrades/upgrades/four-dot-one-to-four-dot-two.md
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ gem 'spree_i18n', '~> 5.0'
27
27
28
28
## Remove SpreeMultiCurrency \(optional\)
29
29
30
-
If you used that gem in the past you need to remove it. MultiCurrency is now incorporated into Spree core and you cannot use that gem anymore.
30
+
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.
31
31
32
32
1. Remove `spree_multi_currency` from your `Gemfile`
33
33
2. Remove these preferences from your Spree initializer \(`config/initializers/spree.rb`\):
@@ -37,7 +37,13 @@ If you used that gem in the past you need to remove it. Multi Currency is now in
37
37
3. Remove `//= require spree/frontend/spree_multi_currency` from `vendor/assets/javascripts/spree/frontend/all.js`
38
38
4. Remove `//= require spree/backend/spree_multi_currency` from `vendor/assets/javascripts/spree/backend/all.js`
39
39
40
-
## Add `deface` gem \(optional\)
40
+
## \(Optional\) Remove SpreeI18n config
41
+
42
+
All international configuration is now kept on the `Store` model in the database rather than in initializer files.
43
+
44
+
If you used `spree_i18n` gem before please remove any `SpreeI18n::Config`references from your `config/initializers/spree.rb` file.
45
+
46
+
## \(Optional\) Add `deface` gem \(optional\)
41
47
42
48
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.
0 commit comments