Gemfile
and .ruby-version
files.Rails.application.config.use_paperclip
and Configuration::Paperclip
from your codebase.OrderContents
was deprecated in Spree 3.7 and removed in 4.0. We've replaced it with service objects.OrderContents
usage with corresponding services in your codebase.OrderContents#update_cart
OrderContents#add
OrderContents#remove
add_store_credit_payments
with Checkout::AddStoreCredit
OrderContents
method add_store_credit_payments
was replaced with Checkout::AddStoreCredit
service.remove_store_credit_payments
with Checkout::RemoveStoreCredit
OrderContents
method remove_store_credit_payments
was replaced with Checkout::RemeoveStoreCredit
service.spree_address_book
extensionGemfile
vendor/assets/javascripts/spree/frontend/all.js
vendor/assets/stylesheets/spree/frontend/all.css
class_eval
with Module.prepend
(only for Rails 6)class_eval
to extend and modify Spree classes you will need to rewrite those with Module.prepend
. Eg.app/models/spree/order_decorator.rb
app/models/my_store/spree/order_decorator.rb
bundle exec spree:frontend:copy_views
bootstrap-sass
gem to your Gemfile
bundle update